[cooja/serialsocket] SeriaSocketClient: Fixed position of pack() call
This commit is contained in:
parent
db2f4e6818
commit
133311b427
|
@ -132,7 +132,6 @@ public class SerialSocketClient extends VisPlugin implements MotePlugin {
|
||||||
|
|
||||||
GridBagConstraints c = new GridBagConstraints();
|
GridBagConstraints c = new GridBagConstraints();
|
||||||
JPanel serverSelectPanel = new JPanel(new GridBagLayout());
|
JPanel serverSelectPanel = new JPanel(new GridBagLayout());
|
||||||
pack();
|
|
||||||
serverSelectPanel.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));
|
serverSelectPanel.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));
|
||||||
|
|
||||||
JLabel label = new JLabel("Host:");
|
JLabel label = new JLabel("Host:");
|
||||||
|
@ -329,6 +328,7 @@ public class SerialSocketClient extends VisPlugin implements MotePlugin {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
pack();
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<ClientListener> listeners = new LinkedList<>();
|
private List<ClientListener> listeners = new LinkedList<>();
|
||||||
|
|
Loading…
Reference in a new issue