diff options
author | hche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-16 06:07:56 +0000 |
---|---|---|
committer | hche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-16 06:07:56 +0000 |
commit | 14a32a70c262396b9e384b3c385159da88356e84 (patch) | |
tree | 45960e50720ed4d76561ec4a82e2223d37c28860 /Tools | |
parent | 4a0b6afe5ac480f672e5c2d9afb67eaf51bd8b40 (diff) | |
download | edk2-platforms-14a32a70c262396b9e384b3c385159da88356e84.tar.xz |
1. Fix EDKT433 help context triggered by mouse movement is not displayed properly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1961 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools')
2 files changed, 12 insertions, 9 deletions
diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java index d11e7ceb02..d57c777f1d 100644 --- a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java +++ b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java @@ -44,6 +44,7 @@ import javax.swing.JPanel; import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
import javax.swing.JTabbedPane;
+import javax.swing.ToolTipManager;
import javax.swing.event.MenuEvent;
import javax.swing.event.MenuListener;
import javax.swing.event.TreeSelectionEvent;
@@ -121,6 +122,12 @@ public class FrameworkWizardUI extends IFrame implements KeyListener, MouseListe /// Define class Serial Version UID
///
private static final long serialVersionUID = -7103240960573031772L;
+
+ //
+ // Set ToolTipText Show Time
+ //
+ static { ToolTipManager.sharedInstance().setDismissDelay(18000);}
+
///
/// Used to record current operation target
@@ -1830,7 +1837,7 @@ public class FrameworkWizardUI extends IFrame implements KeyListener, MouseListe // Close splash screen
//
ss.dispose();
-
+
//
// Init the frame
//
diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/MsaHeader.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/MsaHeader.java index 000199e7c0..a73b6fe2a5 100644 --- a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/MsaHeader.java +++ b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/MsaHeader.java @@ -1526,14 +1526,10 @@ public class MsaHeader extends IInternalFrame implements DocumentListener { jRadioButtonBinaryModuleFalse.setBounds(new java.awt.Rectangle(valueCol + 140, 480, 140, 20));
jRadioButtonBinaryModuleFalse.setText("False");
jRadioButtonBinaryModuleFalse.addFocusListener(this);
- jRadioButtonBinaryModuleFalse.setToolTipText("<html>Modules are either source modules <br>"
- + "which can be compiled or binary <br>"
- + "modules which are linked. <br>"
- + "A module cannot contain both. <br>"
- + "The GUID numbers should be identical <br>"
- + "for a binary and source MSA, <br>"
- + "however the BINARY MSA should have <br>"
- + "a higher version number.</html>");
+ jRadioButtonBinaryModuleFalse.setToolTipText("<html>Modules are either source modules which can be compiled or binary <br>"
+ + "modules which are linked. A module cannot contain both. <br>"
+ + "The GUID numbers should be identical for a binary and source MSA, <br>"
+ + "however the BINARY MSA should have a higher version number.</html>");
}
return jRadioButtonBinaryModuleFalse;
}
|