Startup
This commit is contained in:
@@ -293,6 +293,7 @@ public class TestingList extends Panel {
|
||||
*/
|
||||
private void initialise(){
|
||||
initComponents();
|
||||
addCustomPanel();
|
||||
initLogger();
|
||||
buildTable();
|
||||
try {
|
||||
@@ -309,6 +310,14 @@ public class TestingList extends Panel {
|
||||
getLogger().severe(ex.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* add custom panel if specified
|
||||
*/
|
||||
private void addCustomPanel(){
|
||||
Kollimators panel = new Kollimators();
|
||||
this.jPanelCustom.add(panel);
|
||||
}
|
||||
/**
|
||||
* write info into a log file
|
||||
* @param text the info to be logged
|
||||
@@ -396,6 +405,7 @@ public class TestingList extends Panel {
|
||||
jCheckBoxEnableDisable = new javax.swing.JCheckBox();
|
||||
jButtonMoveDown = new javax.swing.JButton();
|
||||
jButtonMoveUp = new javax.swing.JButton();
|
||||
jPanelCustom = new javax.swing.JPanel();
|
||||
|
||||
jCheckBoxMenuShowSelectedTests.setSelected(true);
|
||||
jCheckBoxMenuShowSelectedTests.setText("Show enabled tests only");
|
||||
@@ -662,6 +672,7 @@ public class TestingList extends Panel {
|
||||
jPanel2.add(jButtonMoveUp, java.awt.BorderLayout.PAGE_START);
|
||||
|
||||
jPanel1.add(jPanel2, java.awt.BorderLayout.LINE_START);
|
||||
jPanel1.add(jPanelCustom, java.awt.BorderLayout.PAGE_END);
|
||||
|
||||
add(jPanel1, java.awt.BorderLayout.NORTH);
|
||||
}// </editor-fold>//GEN-END:initComponents
|
||||
@@ -959,6 +970,7 @@ public class TestingList extends Panel {
|
||||
private javax.swing.JPanel jPanel1;
|
||||
private javax.swing.JPanel jPanel2;
|
||||
private javax.swing.JPanel jPanelButtons;
|
||||
private javax.swing.JPanel jPanelCustom;
|
||||
private javax.swing.JPopupMenu jPopupMenuConfigs;
|
||||
private javax.swing.JPopupMenu jPopupMenuOptions;
|
||||
private javax.swing.JPopupMenu jPopupMenuTable;
|
||||
@@ -967,7 +979,7 @@ public class TestingList extends Panel {
|
||||
private javax.swing.JPopupMenu.Separator jSeparator2;
|
||||
private javax.swing.JPopupMenu.Separator jSeparator3;
|
||||
private javax.swing.JPopupMenu.Separator jSeparator4;
|
||||
private javax.swing.JSeparator jSeparator5;
|
||||
private javax.swing.JPopupMenu.Separator jSeparator5;
|
||||
private javax.swing.JTable jTable1;
|
||||
// End of variables declaration//GEN-END:variables
|
||||
//</editor-fold>
|
||||
|
||||
Reference in New Issue
Block a user