|
|
|
|
122
|
public void actionPerformed(final ActionEvent e) {
|
122
|
public void actionPerformed(final ActionEvent e) {
|
123
|
switch (e.getActionCommand()) {
|
123
|
switch (e.getActionCommand()) {
|
124
|
case "JoinChannel":
|
124
|
case "JoinChannel":
|
125
|
- // TODO: This can NPE on both getActiveFrame and getConnection fix me.
|
|
|
126
|
new StandardInputDialog(mainFrame, Dialog.ModalityType.APPLICATION_MODAL,
|
125
|
new StandardInputDialog(mainFrame, Dialog.ModalityType.APPLICATION_MODAL,
|
127
|
iconManager, "Join Channel", "Enter the name of the channel to join.",
|
126
|
iconManager, "Join Channel", "Enter the name of the channel to join.",
|
128
|
this::doJoinChannel).displayOrRequestFocus();
|
127
|
this::doJoinChannel).displayOrRequestFocus();
|