gramer 0 Posted March 3, 2011 Report Share Posted March 3, 2011 Ainda estou muito verde no java, mas preciso que me indicassem a maneira de aplicar ficheiros de som num programa desenvolvido como janela. para uma imagem posso fazer isto private Image ball; ImageIcon iid = new ImageIcon(this.getClass().getResource("dot.png")); ball = iid.getImage(); penso que para o som seja algo idêntico Link to post Share on other sites
MSOlhao 0 Posted March 10, 2011 Report Share Posted March 10, 2011 Viva, Dá uma vista de olhos aqui: http://www.javaworld.com/javatips/jw-javatip24.html Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now