]> git.proxmox.com Git - mirror_edk2.git/commitdiff
1. Fix EDKT433 help context triggered by mouse movement is not displayed properly
authorhche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 16 Nov 2006 06:07:56 +0000 (06:07 +0000)
committerhche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 16 Nov 2006 06:07:56 +0000 (06:07 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1961 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java
Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/MsaHeader.java

index d11e7ceb0219313795535feb5556c5723291ab67..d57c777f1d6049a581ac09bc217d144178060d80 100644 (file)
@@ -44,6 +44,7 @@ import javax.swing.JPanel;
 import javax.swing.JScrollPane;\r
 import javax.swing.JSplitPane;\r
 import javax.swing.JTabbedPane;\r
+import javax.swing.ToolTipManager;\r
 import javax.swing.event.MenuEvent;\r
 import javax.swing.event.MenuListener;\r
 import javax.swing.event.TreeSelectionEvent;\r
@@ -121,6 +122,12 @@ public class FrameworkWizardUI extends IFrame implements KeyListener, MouseListe
     /// Define class Serial Version UID\r
     ///\r
     private static final long serialVersionUID = -7103240960573031772L;\r
+    \r
+    //\r
+    // Set ToolTipText Show Time\r
+    //\r
+    static { ToolTipManager.sharedInstance().setDismissDelay(18000);} \r
+\r
 \r
     ///\r
     /// Used to record current operation target\r
@@ -1830,7 +1837,7 @@ public class FrameworkWizardUI extends IFrame implements KeyListener, MouseListe
         // Close splash screen\r
         //\r
         ss.dispose();\r
-\r
+                \r
         //\r
         // Init the frame\r
         //\r
index 000199e7c084d3821a076a37f9228df5da7e30e2..a73b6fe2a5113467716c63e60f99bcb89fc5828d 100644 (file)
@@ -1526,14 +1526,10 @@ public class MsaHeader extends IInternalFrame implements DocumentListener {
             jRadioButtonBinaryModuleFalse.setBounds(new java.awt.Rectangle(valueCol + 140, 480, 140, 20));\r
             jRadioButtonBinaryModuleFalse.setText("False");\r
             jRadioButtonBinaryModuleFalse.addFocusListener(this);\r
-            jRadioButtonBinaryModuleFalse.setToolTipText("<html>Modules are either source modules <br>"\r
-                                                         + "which can be compiled or binary <br>"\r
-                                                         + "modules which are linked.  <br>"\r
-                                                         + "A module cannot contain both. <br>"\r
-                                                         + "The GUID numbers should be identical <br>"\r
-                                                         + "for a binary and source MSA, <br>"\r
-                                                         + "however the BINARY MSA should have <br>"\r
-                                                         + "a higher version number.</html>");\r
+            jRadioButtonBinaryModuleFalse.setToolTipText("<html>Modules are either source modules which can be compiled or binary <br>"\r
+                                                         + "modules which are linked. A module cannot contain both. <br>"\r
+                                                         + "The GUID numbers should be identical for a binary and source MSA, <br>"\r
+                                                         + "however the BINARY MSA should have a higher version number.</html>");\r
         }\r
         return jRadioButtonBinaryModuleFalse;\r
     }\r