Closedown

This commit is contained in:
boccioli_m
2017-10-13 11:18:08 +02:00
parent f45b3af1a4
commit ada9c1813f
3 changed files with 7 additions and 5 deletions

View File

@@ -199,8 +199,8 @@ public class NewTest extends javax.swing.JPanel {
jTableParams.getColumnModel().getColumn(0).setMinWidth(150);
jTableParams.getColumnModel().getColumn(0).setPreferredWidth(150);
jTableParams.getColumnModel().getColumn(0).setMaxWidth(150);
jTableParams.getColumnModel().getColumn(1).setPreferredWidth(80);
jTableParams.getColumnModel().getColumn(1).setMaxWidth(100);
jTableParams.getColumnModel().getColumn(1).setPreferredWidth(100);
jTableParams.getColumnModel().getColumn(1).setMaxWidth(200);
}
jButtonGenerate.setText("Generate");
@@ -330,6 +330,8 @@ public class NewTest extends javax.swing.JPanel {
* @param newType of type TypeOfNewFile, can be device or test.
*/
private void fillComponents(TypeOfNewFile newType) {
txtContactName.setText(System.getProperty("user.name"));
// listener for mouse-click also on table header
jTableParams.getTableHeader().addMouseListener(new MouseAdapter() {