[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/24031] New: JOptionPane.showInternalMessageDialog() hangs
From: |
david dot gilbert at object-refinery dot com |
Subject: |
[Bug swing/24031] New: JOptionPane.showInternalMessageDialog() hangs |
Date: |
23 Sep 2005 11:06:55 -0000 |
I created a small test app to display internal message dialogs. The app hangs
attempting to display the dialog (running with JamVM and Classpath CVS). If I
comment out some lines in the startModal() method in JOptionPane.java then the
dialogs display, but are not modal:
private static void startModal(JInternalFrame f)
{
synchronized (f)
{
final JInternalFrame tmp = f;
tmp.toFront();
f.addInternalFrameListener(new InternalFrameAdapter()
{
public void internalFrameClosed(InternalFrameEvent e)
{
synchronized (tmp)
{
tmp.removeInternalFrameListener(this);
tmp.notifyAll();
}
}
});
// try
// {
// while (! f.isClosed())
// f.wait();
// }
// catch (InterruptedException ignored)
// {
// }
}
}
I'll attach the test app once I figure out how.
--
Summary: JOptionPane.showInternalMessageDialog() hangs
Product: classpath
Version: 0.18
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: swing
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: david dot gilbert at object-refinery dot com
CC: bug-classpath at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24031
- [Bug swing/24031] New: JOptionPane.showInternalMessageDialog() hangs,
david dot gilbert at object-refinery dot com <=