-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTestClass_OLD.java
More file actions
37 lines (32 loc) · 902 Bytes
/
Copy pathTestClass_OLD.java
File metadata and controls
37 lines (32 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package application;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;
public class TestClass_OLD extends Application
{
@Override
public void start(Stage primaryStage)
{
try
{
HBox root = FXMLLoader.load(this.getClass().getResource("TestView.fxml"));
//TableView<Person> root = FXMLLoader.load(this.getClass().getResource("/control/CommodityReferenceDataTableView.fxml"));
//SearchableTextField<Person> ab = new SearchableTextField<Person>();
//ab.setReferenceDataControlNameToLoad("/view/CommodityReferenceDataTableView");
//root.getChildren().add(ab);
Scene scene = new Scene(root);
primaryStage.setScene(scene);
primaryStage.show();
}
catch(Exception e)
{
e.printStackTrace();
}
}
public static void main(String[] args)
{
launch(args);
}
}