[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-classpath] [bug #13658] JMenuItems cause infinite loop with MOUSE_M
From: |
Anthony Balkissoon |
Subject: |
[bug-classpath] [bug #13658] JMenuItems cause infinite loop with MOUSE_MOVED events |
Date: |
Wed, 6 Jul 2005 19:22:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050623 Fedora/1.0.4-5 Firefox/1.0.4 |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13658>
Summary: JMenuItems cause infinite loop with MOUSE_MOVED
events
Project: classpath
Submitted by: abalkiss
Submitted on: Wed 07/06/2005 at 19:22
Category: None
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Platform Version: None
_______________________________________________________
Details:
Run the testcase below (and attached). Click on either File or Edit (just
once, don't deselect) and then move the mouse to hover over one of the frame
buttons (minimize, maximize, exit).
Expect: frame button becomes hilighted but no other visible action.
Result: infinite loop for mouse-moved event eventually leading to OutOfMemory
error.
import javax.swing.*;
class TestCase extends JFrame
{
public static void main( String args[] )
{
JFrame jf = new JFrame();
JMenuBar mb = new JMenuBar();
JMenu menu = new JMenu("File");
JMenu menu2 = new JMenu("Edit");
mb.add(menu);
mb.add(menu2);
jf.getContentPane().add(mb);
jf.setVisible(true);
}
}
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 07/06/2005 at 19:22 Name: TestCase.java Size: 352B By: abalkiss
test case
<http://savannah.gnu.org/bugs/download.php?item_id=13658&item_file_id=2658>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13658>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug-classpath] [bug #13658] JMenuItems cause infinite loop with MOUSE_MOVED events,
Anthony Balkissoon <=