@Override
public void start() {
if (frame != null) stop();
frame = new JFrame();
NodeLibrary nodeLibrary = NodeBoxDocument.getCurrentDocument().getNodeLibrary();
String fileName = getFileName();
if (! fileName.startsWith("/") && nodeLibrary.getFile() != null) {
File f = new File(nodeLibrary.getFile().getParentFile(), fileName);
fileName = f.getAbsolutePath();
}
applet = new MinimApplet(fileName, true);
applet.init();
frame.add(applet);