🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #475

dispose() cause InterruptedException

#475
From: young
Date: Thu, 14 Jul 2005 09:41
16 lines
1572 bytes
I want to create 2 windows. Say "Control" and "Display". When I close window
"Control", I want my "Display" to be closed as well.

I am using dispose() to close window "Display", but got following exception.

Disposal was interrupted:
java.lang.InterruptedException
 at java.lang.Object.wait(Native Method)
 at java.lang.Object.wait(Object.java:474)
 at java.awt.EventQueue.invokeAndWait(EventQueue.java:846)
 at java.awt.Window.doDispose(Window.java:637)
 at java.awt.Window.dispose(Window.java:588)
 at Display.shutdown(Display.java:68)
 at Control.shutdown(Control.java:114)

:<
Technical Details
Message-ID: <db5bvn$r4b$1@news.al.sw.ericsson.se>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.germany.com!newsfeed1.funet.fi!newsfeeds.funet.fi!newsfeed.sunet.se!news01.sunet.se!erinews.ericsson.se!news.al.sw.ericsson.se!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,6dc22c29d84d285f,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.germany.com!newsfeed1.funet.fi!newsfeeds.funet.fi!newsfeed.sunet.se!news01.sunet.se!erinews.ericsson.se!news.al.sw.ericsson.se!not-for-mail
From: "young" <Young@some.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: dispose() cause InterruptedException
Date: Thu, 14 Jul 2005 17:41:10 +0800
Organization: Ericsson
Lines: 18
Message-ID: <db5bvn$r4b$1@news.al.sw.ericsson.se>
NNTP-Posting-Host: rdc-dhcp107.etc.ericsson.se
X-Trace: news.al.sw.ericsson.se 1121334072 27787 150.236.41.107 (14 Jul 2005 09:41:12 GMT)
X-Complaints-To: abuse@ericsson.se
NNTP-Posting-Date: Thu, 14 Jul 2005 09:41:12 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506