Formatting
This commit is contained in:
@ -5,28 +5,21 @@ import javafx.stage.Stage;
|
||||
import javafx.scene.Scene;
|
||||
//import javafx.scene.layout.BorderPane;
|
||||
|
||||
public class Main extends Application
|
||||
{
|
||||
public void start(Stage primaryStage)
|
||||
{
|
||||
try
|
||||
{
|
||||
public class Main extends Application {
|
||||
public void start(Stage primaryStage) {
|
||||
try {
|
||||
RootGridPane root = new RootGridPane();
|
||||
// BorderPane root = new BorderPane();
|
||||
Scene scene = new Scene(root, 400, 400);
|
||||
primaryStage.setScene(scene);
|
||||
primaryStage.setTitle("Erstes Fenster");
|
||||
primaryStage.show();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
public static void main(String[] args) {
|
||||
launch(args);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,6 @@ import javafx.scene.control.Button;
|
||||
import javafx.scene.layout.FlowPane;
|
||||
import javafx.scene.layout.GridPane;
|
||||
|
||||
|
||||
public class RootGridPane extends GridPane {
|
||||
|
||||
// Button btButton1;
|
||||
@ -15,8 +14,7 @@ public class RootGridPane extends GridPane {
|
||||
Button btButton4, btButton5, btButton6, btButtonSieben, btButtonAcht;
|
||||
FlowPane fpRechtsUnten;
|
||||
|
||||
public RootGridPane()
|
||||
{
|
||||
public RootGridPane() {
|
||||
initComponents();
|
||||
addComponents();
|
||||
}
|
||||
|
Reference in New Issue
Block a user