Here is a basic class that uses JavaFx:
package Chatter;
import javafx.application.Application;
import javafx.stage.Stage;
public class Delete extends Application
{
@Override
public void start(Stage primaryStage) throws Exception
{
// Do stuff
}
public static void main(String[] args)
{
launch();
}
}
Things to note:
1. launch() calls the start() method, which is needed for Applications
2. The Stage is the visual window upon which content is added. At the moment, you can't see anything because nothing has been added.
package Chatter;
import javafx.application.Application;
import javafx.stage.Stage;
public class Delete extends Application
{
@Override
public void start(Stage primaryStage) throws Exception
{
// Do stuff
}
public static void main(String[] args)
{
launch();
}
}
Things to note:
1. launch() calls the start() method, which is needed for Applications
2. The Stage is the visual window upon which content is added. At the moment, you can't see anything because nothing has been added.
No comments:
Post a Comment