@@ -65,28 +65,33 @@ public JPanel getRootPanel() {
6565 */
6666 private void $$$setupUI$$$ () {
6767 rootPanel = new JPanel ();
68- rootPanel .setLayout (new GridLayoutManager (3 , 1 , new Insets (10 , 10 , 10 , 10 ), -1 , -1 ));
69- cancelButton = new JButton ();
70- cancelButton .setText ("Cancel" );
71- rootPanel .add (cancelButton , new GridConstraints (2 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
72- createButton = new JButton ();
73- createButton .setText ("Create" );
74- rootPanel .add (createButton , new GridConstraints (1 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
68+ rootPanel .setLayout (new GridLayoutManager (2 , 1 , new Insets (10 , 10 , 10 , 10 ), -1 , -1 , false , true ));
7569 final JPanel panel1 = new JPanel ();
7670 panel1 .setLayout (new GridLayoutManager (3 , 2 , new Insets (0 , 0 , 0 , 0 ), -1 , -1 ));
77- rootPanel .add (panel1 , new GridConstraints (0 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_BOTH , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , null , null , null , 0 , false ));
71+ rootPanel .add (panel1 , new GridConstraints (0 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , null , null , null , 0 , false ));
7872 pathLabel = new JLabel ();
7973 pathLabel .setText ("Please pick a path" );
8074 panel1 .add (pathLabel , new GridConstraints (0 , 0 , 1 , 2 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_FIXED , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
8175 selectPathButton = new JButton ();
8276 selectPathButton .setText ("Select path" );
8377 panel1 .add (selectPathButton , new GridConstraints (1 , 0 , 1 , 2 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
8478 includeSubdirectoriesCheckBox = new JCheckBox ();
79+ includeSubdirectoriesCheckBox .setSelected (true );
8580 includeSubdirectoriesCheckBox .setText ("Include subdirectories" );
8681 panel1 .add (includeSubdirectoriesCheckBox , new GridConstraints (2 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
8782 makeDirectoryActiveCheckBox = new JCheckBox ();
83+ makeDirectoryActiveCheckBox .setSelected (true );
8884 makeDirectoryActiveCheckBox .setText ("Make directory active" );
8985 panel1 .add (makeDirectoryActiveCheckBox , new GridConstraints (2 , 1 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
86+ final JPanel panel2 = new JPanel ();
87+ panel2 .setLayout (new GridLayoutManager (1 , 2 , new Insets (0 , 0 , 0 , 0 ), -1 , -1 ));
88+ rootPanel .add (panel2 , new GridConstraints (1 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_BOTH , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , null , null , null , 0 , false ));
89+ createButton = new JButton ();
90+ createButton .setText ("Create" );
91+ panel2 .add (createButton , new GridConstraints (0 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
92+ cancelButton = new JButton ();
93+ cancelButton .setText ("Cancel" );
94+ panel2 .add (cancelButton , new GridConstraints (0 , 1 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
9095 }
9196
9297 /**
0 commit comments