blob: e508f6eaf5f860e87962756a8ba7cb0fefda36fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package ui;
import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JComboBox;
public class ChooseOpponentPanel extends JPanel {
/**
* Create the panel.
*/
public ChooseOpponentPanel() {
setLayout(null);
JButton btnSendGameRequest = new JButton("Send Game Request");
btnSendGameRequest.setBounds(134, 153, 166, 23);
add(btnSendGameRequest);
JComboBox comboBox = new JComboBox();
comboBox.setBounds(134, 101, 166, 22);
add(comboBox);
}
}
|