EEPROM
This commit is contained in:
@ -20,15 +20,12 @@ public class CreateWindow extends Application {
|
||||
|
||||
@Override
|
||||
|
||||
public void start(Stage primaryStage) throws IOException{
|
||||
public void start(Stage primaryStage) throws IOException {
|
||||
DataRegister.initDataRegister();
|
||||
table = Table.refresh();
|
||||
FXMLLoader codewindow = new FXMLLoader(CreateWindow.class.getResource("frontend.fxml"));
|
||||
Parent code = codewindow.load();
|
||||
|
||||
|
||||
|
||||
|
||||
grid.add(table, 1, 1);
|
||||
grid.add(code, 0, 1);
|
||||
|
||||
@ -41,19 +38,15 @@ public class CreateWindow extends Application {
|
||||
primaryStage.show();
|
||||
}
|
||||
|
||||
static void main(String[] args) {
|
||||
|
||||
public static void main(String[] args) {
|
||||
launch(args);
|
||||
|
||||
}
|
||||
|
||||
public static void refreshTable(Stage stage) throws IOException {
|
||||
public static void refreshTable(Stage stage) {
|
||||
grid.getChildren().remove(table);
|
||||
table= Table.refresh();
|
||||
grid.add(table, 1, 1);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user