You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
freetush...@gmail.com
on 3 Mar 2013 at 11:40The text was updated successfully, but these errors were encountered: