aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ui/ChooseOpponentPanel.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ui/ChooseOpponentPanel.java')
-rw-r--r--src/main/java/ui/ChooseOpponentPanel.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main/java/ui/ChooseOpponentPanel.java b/src/main/java/ui/ChooseOpponentPanel.java
index 4ecd823..196477f 100644
--- a/src/main/java/ui/ChooseOpponentPanel.java
+++ b/src/main/java/ui/ChooseOpponentPanel.java
@@ -43,16 +43,5 @@ public class ChooseOpponentPanel extends JPanel {
add(comboBox);
}
-
- public void getUsers() {
- MainFrame topFrame=(MainFrame) SwingUtilities.getAncestorOfClass(MainFrame.class, ChooseOpponentPanel.this);
- try {
- SocketChannel client=topFrame.getClient();
- ByteBuffer buff = ByteBuffer.wrap("REQUESTUSERS".getBytes());
- client.write(buff);
- } catch (Exception e) {
- // TODO: handle exception
- }
- }
}