@@ -241,7 +241,7 @@ public void clearFields() {
241241 deleteButton .setText ("删除" );
242242 panel2 .add (deleteButton , 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 ));
243243 final JPanel panel3 = new JPanel ();
244- panel3 .setLayout (new GridLayoutManager (4 , 6 , new Insets (5 , 5 , 0 , 5 ), -1 , -1 ));
244+ panel3 .setLayout (new GridLayoutManager (4 , 5 , new Insets (5 , 5 , 0 , 5 ), -1 , -1 ));
245245 contentPane .add (panel3 , 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 ));
246246 panel3 .setBorder (BorderFactory .createTitledBorder (BorderFactory .createEtchedBorder (), "添加新账号" ));
247247 final JLabel label1 = new JLabel ();
@@ -258,7 +258,7 @@ public void clearFields() {
258258 label3 .setText ("AppSecret" );
259259 panel3 .add (label3 , new GridConstraints (1 , 2 , 1 , 1 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_FIXED , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
260260 appSecretTextField = new JTextField ();
261- panel3 .add (appSecretTextField , new GridConstraints (1 , 4 , 1 , 2 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_WANT_GROW , GridConstraints .SIZEPOLICY_FIXED , null , new Dimension (150 , -1 ), null , 0 , false ));
261+ panel3 .add (appSecretTextField , new GridConstraints (1 , 3 , 1 , 2 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_WANT_GROW , GridConstraints .SIZEPOLICY_FIXED , null , new Dimension (150 , -1 ), null , 0 , false ));
262262 final JLabel label4 = new JLabel ();
263263 label4 .setText ("Token" );
264264 panel3 .add (label4 , new GridConstraints (2 , 0 , 1 , 1 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_FIXED , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
@@ -268,12 +268,12 @@ public void clearFields() {
268268 label5 .setText ("AES Key" );
269269 panel3 .add (label5 , new GridConstraints (2 , 2 , 1 , 1 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_FIXED , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
270270 aesKeyTextField = new JTextField ();
271- panel3 .add (aesKeyTextField , new GridConstraints (2 , 4 , 1 , 2 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_WANT_GROW , GridConstraints .SIZEPOLICY_FIXED , null , new Dimension (150 , -1 ), null , 0 , false ));
271+ panel3 .add (aesKeyTextField , new GridConstraints (2 , 3 , 1 , 2 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_WANT_GROW , GridConstraints .SIZEPOLICY_FIXED , null , new Dimension (150 , -1 ), null , 0 , false ));
272272 final Spacer spacer2 = new Spacer ();
273- panel3 .add (spacer2 , new GridConstraints (3 , 0 , 1 , 5 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_WANT_GROW , 1 , null , null , null , 0 , false ));
273+ panel3 .add (spacer2 , new GridConstraints (3 , 0 , 1 , 4 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_WANT_GROW , 1 , null , null , null , 0 , false ));
274274 addButton = new JButton ();
275275 addButton .setText ("保存" );
276- panel3 .add (addButton , new GridConstraints (3 , 5 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
276+ panel3 .add (addButton , new GridConstraints (3 , 4 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
277277 final JScrollPane scrollPane1 = new JScrollPane ();
278278 contentPane .add (scrollPane1 , new GridConstraints (1 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_BOTH , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_WANT_GROW , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_WANT_GROW , null , null , null , 0 , false ));
279279 accountsTable = new JTable ();
0 commit comments