increased tooltip timeout to one minute

This commit is contained in:
nifi 2009-04-20 14:11:01 +00:00
parent 8f66601a5a
commit 7d7f2348d9

View file

@ -24,7 +24,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: GUI.java,v 1.123 2009/03/24 15:47:10 fros4943 Exp $
* $Id: GUI.java,v 1.124 2009/04/20 14:11:01 nifi Exp $
*/
package se.sics.cooja;
@ -95,6 +95,7 @@ import javax.swing.JSeparator;
import javax.swing.JTabbedPane;
import javax.swing.KeyStroke;
import javax.swing.SwingUtilities;
import javax.swing.ToolTipManager;
import javax.swing.UIManager;
import javax.swing.event.MenuEvent;
import javax.swing.event.MenuListener;
@ -1005,6 +1006,8 @@ public class GUI extends Observable {
JFrame.setDefaultLookAndFeelDecorated(true);
JDialog.setDefaultLookAndFeelDecorated(true);
ToolTipManager.sharedInstance().setDismissDelay(60000);
/* Nimbus */
try {
String osName = System.getProperty("os.name").toLowerCase();