RRRRHHHH_Code
Diff Revisions
46d6c3 ...
vs
0f75b2 ...
for ruralHouses/src/gui/AdminMenuGUI.java
|
@@ -55,14 +55,17 @@ |
55 |
55 |
|
a.setVisible(true); |
56 |
56 |
|
} |
57 |
57 |
|
}); |
|
58 |
+ |
|
|
59 |
+ |
JButton btnOwneraddition = new JButton("OwnerAddition"); |
58 |
60 |
|
GroupLayout gl_contentPane = new GroupLayout(contentPane); |
59 |
61 |
|
gl_contentPane.setHorizontalGroup( |
60 |
62 |
|
gl_contentPane.createParallelGroup(Alignment.LEADING) |
61 |
63 |
|
.addGroup(gl_contentPane.createSequentialGroup() |
62 |
64 |
|
.addGap(115) |
63 |
|
- |
.addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) |
64 |
|
- |
.addComponent(btnDel, GroupLayout.PREFERRED_SIZE, 164, GroupLayout.PREFERRED_SIZE) |
65 |
|
- |
.addComponent(btnAdd, GroupLayout.PREFERRED_SIZE, 164, GroupLayout.PREFERRED_SIZE)) |
|
65 |
+ |
.addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING, false) |
|
66 |
+ |
.addComponent(btnOwneraddition, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|
67 |
+ |
.addComponent(btnDel, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 164, Short.MAX_VALUE) |
|
68 |
+ |
.addComponent(btnAdd, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 164, Short.MAX_VALUE)) |
66 |
69 |
|
.addContainerGap(145, Short.MAX_VALUE)) |
67 |
70 |
|
); |
68 |
71 |
|
gl_contentPane.setVerticalGroup( |
|
@@ -72,9 +75,10 @@ |
72 |
75 |
|
.addComponent(btnAdd, GroupLayout.PREFERRED_SIZE, 81, GroupLayout.PREFERRED_SIZE) |
73 |
76 |
|
.addGap(58) |
74 |
77 |
|
.addComponent(btnDel, GroupLayout.PREFERRED_SIZE, 81, GroupLayout.PREFERRED_SIZE) |
75 |
|
- |
.addContainerGap(142, Short.MAX_VALUE)) |
|
78 |
+ |
.addGap(52) |
|
79 |
+ |
.addComponent(btnOwneraddition, GroupLayout.DEFAULT_SIZE, 79, Short.MAX_VALUE) |
|
80 |
+ |
.addContainerGap()) |
76 |
81 |
|
); |
77 |
82 |
|
contentPane.setLayout(gl_contentPane); |
78 |
83 |
|
} |
79 |
|
- |
|
80 |
84 |
|
} |