OSDN Git Service

コンフィグダイアログクラス名変更
authoryukihane <yukihane.feather@gmail.com>
Wed, 24 Aug 2011 04:29:42 +0000 (13:29 +0900)
committeryukihane <yukihane.feather@gmail.com>
Wed, 24 Aug 2011 04:29:42 +0000 (13:29 +0900)
frontend/src/yukihane/inqubus/gui/ConfigDialog.java [moved from frontend/src/yukihane/inqubus/gui/Properties.java with 99% similarity]
frontend/src/yukihane/inqubus/gui/MainFrame.java

@@ -16,15 +16,15 @@ import javax.swing.JFrame;
  *
  * @author yuki
  */
-public class Properties extends javax.swing.JDialog {
+public class ConfigDialog extends javax.swing.JDialog {
 
     /** Creates new form Properties */
-    public Properties() {
+    public ConfigDialog() {
         super();
         initComponents();
     }
 
-    public Properties(JFrame owner){
+    public ConfigDialog(JFrame owner){
         super(owner);
         initComponents();
     }
@@ -1052,13 +1052,13 @@ public class Properties extends javax.swing.JDialog {
                 }
             }
         } catch (ClassNotFoundException ex) {
-            java.util.logging.Logger.getLogger(Properties.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+            java.util.logging.Logger.getLogger(ConfigDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
         } catch (InstantiationException ex) {
-            java.util.logging.Logger.getLogger(Properties.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+            java.util.logging.Logger.getLogger(ConfigDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
         } catch (IllegalAccessException ex) {
-            java.util.logging.Logger.getLogger(Properties.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+            java.util.logging.Logger.getLogger(ConfigDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
         } catch (javax.swing.UnsupportedLookAndFeelException ex) {
-            java.util.logging.Logger.getLogger(Properties.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+            java.util.logging.Logger.getLogger(ConfigDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
         }
         //</editor-fold>
 
@@ -1066,7 +1066,7 @@ public class Properties extends javax.swing.JDialog {
         java.awt.EventQueue.invokeLater(new Runnable() {
 
             public void run() {
-                new Properties().setVisible(true);
+                new ConfigDialog().setVisible(true);
             }
         });
     }
index 409d124..64095c8 100644 (file)
@@ -455,7 +455,7 @@ public class MainFrame extends javax.swing.JFrame {
 
             @Override
             public void actionPerformed(ActionEvent e) {
-                final yukihane.inqubus.gui.Properties dlg = new yukihane.inqubus.gui.Properties(MainFrame.this);
+                final yukihane.inqubus.gui.ConfigDialog dlg = new yukihane.inqubus.gui.ConfigDialog(MainFrame.this);
                 dlg.setLocationRelativeTo(MainFrame.this);
                 dlg.setModal(true);
                 dlg.setVisible(true);