Sorry for bad english..
I try to play/stop tune from textarea by pressing button and all seems to be
good, but TunePlayer it don't release memory after stop-method.
I'm new in JAVA, so don't know: Is it my mistake or not?
class PlayTune implements ActionListener {
public void actionPerformed(ActionEvent e) {
if (player.isPlaying()) {
player.stop();
}
else {
if (!tuneEditArea.getText().isEmpty()) {
tuneAsString = tuneEditArea.getText();
} else {
tuneAsString = "";
}
Tune tune = new TuneParser().parse(tuneAsString);
player.start();
player.play(tune);
}
}
}
What version of the product are you using? On what operating system?
Windows 8 Pro x64, NetBeans IDE 7.2.1, JDK 1.7u15 x64
Original issue reported on code.google.com by freetush...@gmail.com on 3 Mar 2013 at 11:40
Original issue reported on code.google.com by
freetush...@gmail.com
on 3 Mar 2013 at 11:40