]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/ui/IFrame.java
1. Fix EDKT417: System hangs to setup build preference when there is no target.txt...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / ui / IFrame.java
index 51f85d677168858a95f071b8219192b6acf7963f..101dd999fba974531cb7c449675a6672fea2073d 100644 (file)
@@ -52,7 +52,7 @@ public class IFrame extends JFrame implements ActionListener, WindowListener, Co
     // 1 - Whne editing module\r
     //\r
     private int intExitType = 0;\r
-    \r
+\r
     /**\r
      Main class, used for test\r
      \r
@@ -95,11 +95,11 @@ public class IFrame extends JFrame implements ActionListener, WindowListener, Co
         Dimension d = Toolkit.getDefaultToolkit().getScreenSize();\r
         this.setLocation((d.width - intWidth) / 2, (d.height - intHeight) / 2);\r
     }\r
-    \r
+\r
     /**\r
-    Start the window full of the screen\r
-    \r
-    **/\r
+     Start the window full of the screen\r
+     \r
+     **/\r
     protected void maxWindow() {\r
         Dimension d = Toolkit.getDefaultToolkit().getScreenSize();\r
         this.setLocation(0, 0);\r
@@ -215,49 +215,50 @@ public class IFrame extends JFrame implements ActionListener, WindowListener, Co
             this.dispose();\r
         }\r
     }\r
-    \r
+\r
     public int showSaveDialog() {\r
-        return JOptionPane.showConfirmDialog(null, "Save all changed files?", "Save", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE);\r
+        return JOptionPane.showConfirmDialog(null, "Save all changed files?", "Save", JOptionPane.YES_NO_CANCEL_OPTION,\r
+                                             JOptionPane.WARNING_MESSAGE);\r
     }\r
-    \r
+\r
     /**\r
-    Check the input data is empty or not\r
-    \r
-    @param strValue The input data which need be checked\r
-    \r
-    @retval true - The input data is empty\r
-    @retval fals - The input data is not empty\r
-    \r
-    **/\r
-   public boolean isEmpty(String strValue) {\r
-       return Tools.isEmpty(strValue);\r
-   }\r
-   \r
-   /**\r
-    Display the dialog\r
-    \r
-    **/\r
-   public void showDialog() {\r
-       this.setVisible(true);\r
-   }\r
-\r
-public void componentResized(ComponentEvent arg0) {\r
-    // TODO Auto-generated method stub\r
-    \r
-}\r
+     Check the input data is empty or not\r
+     \r
+     @param strValue The input data which need be checked\r
+     \r
+     @retval true - The input data is empty\r
+     @retval fals - The input data is not empty\r
+     \r
+     **/\r
+    public boolean isEmpty(String strValue) {\r
+        return Tools.isEmpty(strValue);\r
+    }\r
 \r
-public void componentMoved(ComponentEvent arg0) {\r
-    // TODO Auto-generated method stub\r
-    \r
-}\r
+    /**\r
+     Display the dialog\r
+     \r
+     **/\r
+    public void showDialog() {\r
+        this.setVisible(true);\r
+    }\r
 \r
-public void componentShown(ComponentEvent arg0) {\r
-    // TODO Auto-generated method stub\r
-    \r
-}\r
+    public void componentResized(ComponentEvent arg0) {\r
+        // TODO Auto-generated method stub\r
 \r
-public void componentHidden(ComponentEvent arg0) {\r
-    // TODO Auto-generated method stub\r
-    \r
-}\r
+    }\r
+\r
+    public void componentMoved(ComponentEvent arg0) {\r
+        // TODO Auto-generated method stub\r
+\r
+    }\r
+\r
+    public void componentShown(ComponentEvent arg0) {\r
+        // TODO Auto-generated method stub\r
+\r
+    }\r
+\r
+    public void componentHidden(ComponentEvent arg0) {\r
+        // TODO Auto-generated method stub\r
+\r
+    }\r
 }\r