RRRRHHHH_Code
Diff Revisions
46d6c3 ...
vs
520867 ...
for ruralHouses/src/gui/RequestDeleteHouseGUI.java
|
@@ -5,11 +5,10 @@ |
5 |
5 |
|
import java.awt.event.ItemEvent; |
6 |
6 |
|
import java.awt.event.ItemListener; |
7 |
7 |
|
|
8 |
|
- |
import javax.swing.GroupLayout; |
9 |
|
- |
import javax.swing.GroupLayout.Alignment; |
10 |
8 |
|
import javax.swing.JButton; |
11 |
9 |
|
import javax.swing.JComboBox; |
12 |
10 |
|
import javax.swing.JFrame; |
|
11 |
+ |
import javax.swing.JLabel; |
13 |
12 |
|
import javax.swing.JPanel; |
14 |
13 |
|
import javax.swing.JRadioButton; |
15 |
14 |
|
import javax.swing.border.EmptyBorder; |
|
@@ -17,11 +16,13 @@ |
17 |
16 |
|
import businessLogic.AdminManager; |
18 |
17 |
|
import domain.Owner; |
19 |
18 |
|
import domain.RuralHouse; |
20 |
|
- |
import javax.swing.JLabel; |
21 |
|
- |
import javax.swing.LayoutStyle.ComponentPlacement; |
22 |
19 |
|
|
23 |
20 |
|
public class RequestDeleteHouseGUI extends JFrame { |
24 |
21 |
|
|
|
22 |
+ |
/** |
|
23 |
+ |
* |
|
24 |
+ |
*/ |
|
25 |
+ |
private static final long serialVersionUID = 1L; |
25 |
26 |
|
private JPanel contentPane; |
26 |
27 |
|
private Owner owner; |
27 |
28 |
|
private JComboBox<RuralHouse> comboBox; |
|
@@ -45,7 +46,7 @@ |
45 |
46 |
|
|
46 |
47 |
|
|
47 |
48 |
|
JRadioButton rdbtnIAmSure = new JRadioButton("I am sure"); |
48 |
|
- |
rdbtnIAmSure.setBounds(90, 154, 71, 23); |
|
49 |
+ |
rdbtnIAmSure.setBounds(90, 154, 90, 23); |
49 |
50 |
|
|
50 |
51 |
|
btnDelete = new JButton("REQUEST"); |
51 |
52 |
|
btnDelete.setBounds(90, 213, 90, 23); |