commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bugs #11607] IllegalComponentStateException in ToolTipManag


From: Michael Koch
Subject: [commit-cp] [bugs #11607] IllegalComponentStateException in ToolTipManager
Date: Wed, 19 Jan 2005 18:27:57 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux; X11; i686; de) (KHTML, like Gecko)

This is an automated notification sent by Savannah.
It relates to:
                bugs #11607, project classpath

==============================================================================
 LATEST MODIFICATIONS of bugs #11607:
==============================================================================

               Posted by: Michael Koch <mkoch>
               Posted on: 2005-01-19 18:27 (GMT)
    _______________________________________________________

                Category:                    None -> classpath              


==============================================================================
 OVERVIEW of bugs #11607:
==============================================================================

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11607>

                 Summary: IllegalComponentStateException in ToolTipManager
                 Project: classpath
            Submitted by: mkz
            Submitted on: Sam 15.01.2005 um 15:12
                Category: classpath
                Severity: 5 - Average
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________




Click on File->Open fast, before tooltip appears.



--------------------------------

import javax.swing.*;

public class test extends JFrame {

    public test() {

        JMenuItem mi0 = new JMenuItem("Open");

        mi0.setToolTipText("qwe");



        JMenu m1 = new JMenu("File");

        m1.add(mi0);



        JMenuBar mb = new JMenuBar();

        mb.add(m1);

        setJMenuBar(mb);



        setSize(300, 200);

    }

    public static void main(String [] args) {

        JFrame f = new test();

        f.show();

    }

}



--------------------------------

$ jamvm-cvs test

Exception during event dispatch:

java.awt.IllegalComponentStateException: component not showing

   at java.awt.Component.getLocationOnScreen (Component.java:1152)

   at javax.swing.SwingUtilities.convertPointToScreen
(SwingUtilities.java:328)

   at javax.swing.ToolTipManager.showTip (ToolTipManager.java:525)

   at javax.swing.ToolTipManager.access$1 (ToolTipManager.java:58)

   at javax.swing.ToolTipManager$insideTimerAction.actionPerformed
(ToolTipManager.java:131)

   at javax.swing.Timer.fireActionPerformed (Timer.java:271)

   at javax.swing.Timer.fireActionPerformed (Timer.java:279)

   at javax.swing.Timer.drainEvents (Timer.java:105)

   at javax.swing.Timer.access$0 (Timer.java:51)

   at javax.swing.Timer$1.run (Timer.java:88)

   at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:191)

   at java.awt.EventQueue.dispatchEvent (EventQueue.java:493)

   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)



    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sam 15.01.2005 um 15:24       By: Marko Kreen <mkz>
Sorry, forgot to set category








==============================================================================

This item URL is:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11607>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]