first expirience in java applet, javafx and swing