comparison src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java @ 24:94b36ee816ef

put viewer instance for closing window
author sugi
date Sat, 08 Nov 2014 19:13:58 +0900
parents 45176f732171
children e650eaf8deeb
comparison
equal deleted inserted replaced
23:0d3cf24fe634 24:94b36ee816ef
903 903
904 JOptionPane infoPane = new JOptionPane(message.toString(), JOptionPane.INFORMATION_MESSAGE); 904 JOptionPane infoPane = new JOptionPane(message.toString(), JOptionPane.INFORMATION_MESSAGE);
905 final JDialog infoDialog = infoPane.createDialog(frame, "VNC connection info"); 905 final JDialog infoDialog = infoPane.createDialog(frame, "VNC connection info");
906 infoDialog.setModalityType(Dialog.ModalityType.MODELESS); 906 infoDialog.setModalityType(Dialog.ModalityType.MODELESS);
907 infoDialog.setVisible(true); 907 infoDialog.setVisible(true);
908
908 } 909 }
909 } 910 }