-
Bug
-
Resolution: Incomplete
-
P4
-
None
-
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
Maven home: /home/jaap/netbeans-8.0rc1/java/maven
Java version: 1.8.0, vendor: Oracle Corporation
Java home: /usr/java/jdk1.8.0/jre
OS name: "linux", version: "2.6.32-431.5.1.el6.i686", arch: "i386", family: "unix"Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100) Maven home: /home/jaap/netbeans-8.0rc1/java/maven Java version: 1.8.0, vendor: Oracle Corporation Java home: /usr/java/jdk1.8.0/jre OS name: "linux", version: "2.6.32-431.5.1.el6.i686", arch: "i386", family: "unix"
A loop creates multiple (ic 2) tabs in a tabpane.
Each tab is identical as each is a load of the same file.fxml;
The first tab is in focus and displays content, the second displays (the identical) content (btw the controller will eventually data) only after the app is resized. (btw the controller will add data)
for (short i = location.getNs2b(); i > 0; i--) {
this.getTabs().add(makeTab(location,i));
}
private Tab makeTab(Location location, short i) {
Tab tab = null;
try {
FXMLLoader loader = new FXMLLoader(ManageLocation.class.getResource("Subset.fxml"));
tab = (Tab) loader.load();
.....
Each tab is identical as each is a load of the same file.fxml;
The first tab is in focus and displays content, the second displays (the identical) content (btw the controller will eventually data) only after the app is resized. (btw the controller will add data)
for (short i = location.getNs2b(); i > 0; i--) {
this.getTabs().add(makeTab(location,i));
}
private Tab makeTab(Location location, short i) {
Tab tab = null;
try {
FXMLLoader loader = new FXMLLoader(ManageLocation.class.getResource("Subset.fxml"));
tab = (Tab) loader.load();
.....