Come posso far partire in un'applicazione awt,swing un file wav?
Ho trovato questo codice nella guida di html.it
http://java.html.it/guide/lezione/77...xswingsampled/
ma mi da errore qui:
DataLine.Info info = new DataLine.Info(
Clip.class,
ais.getFormat(),
((int) ais.getFrameLength() *
af.getFramesize()));
precisamente non trova getFramesize pur sistemando le librerie...
qlo che a me serve è che quando si apre un jframe scatta il file wav...
Grazie