File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/java/net/rptools/maptool/client/ui/connecttoserverdialog Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 3535import javax .swing .ListSelectionModel ;
3636import javax .swing .SwingUtilities ;
3737import javax .swing .SwingWorker ;
38+ import javax .swing .WindowConstants ;
3839import javax .swing .table .AbstractTableModel ;
3940import javax .swing .table .DefaultTableCellRenderer ;
4041import javax .swing .table .TableColumn ;
@@ -58,7 +59,9 @@ public class ConnectToServerDialog extends AbeillePanel<ConnectToServerDialogPre
5859 GenericDialog .getFactory ()
5960 .setDialogTitle (I18N .getText ("ConnectToServerDialog.msg.title" ))
6061 .createOkCancelButtons ()
61- .setDefaultButton (ButtonKind .OK );
62+ .setDefaultButton (ButtonKind .OK )
63+ .makeModal (true )
64+ .setCloseOperation (WindowConstants .DISPOSE_ON_CLOSE );
6265 private RemoteServerConfig connectionDetails = null ;
6366
6467 /** This is the default constructor */
You can’t perform that action at this time.
0 commit comments