private static JFlashPlayer createPlayerWithDefaultLyfeCycle(final JTextArea logTextArea, JComponent componentPane) {
log(logTextArea, "- JFlashPlayer creation.");
JFlashPlayer flashPlayer = new JFlashPlayer(JFlashPlayer.destroyOnFinalization());
flashPlayer.setControlBarVisible(false);
log(logTextArea, " -> Calls will be played after initialization.");
flashPlayer.runInSequence(new Runnable() {
public void run() {
log(logTextArea, "- JFlashPlayer is initialized.");
log(logTextArea, " -> runInSequence() used to display this message.");
}
});