🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: I need a window which is modal

#7538
From: Rick Ingham
Date: Wed, 17 Jan 2001 14:46
23 lines
1697 bytes
I did this once using thread synchronization and an overridden show()/hide() that called wait()/notify().

"Torsten Welches" <torsten.welches@who.cares.netcologne.de> wrote in message news:3a6564c7$1_2@dnews...
> 
> HABA,
> 
> I guess you are stuck. You can't have a modal JWindow and you 
> can't get rid of JDialog's border.
> Probably the closest would be a JDialog with only a close 
> button (disabled). 
> 
> Torsten
> 
> "HABA" <The.HABA@t-online.de> wrote:
> >I need a window which is modal.
> >JWindow is good --> no border (close,maximize..) but not modal..
> >
> >JDialog is good --> Modal
> >but has border ..
> >
> >what to do...??
> >
> >thanks
Technical Details
Message-ID: <944b6j$pcp18@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!not-for-mail
References: <3a6369f0_1@dnews> <3a6564c7$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,4562037466fa7b2c
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-17 06:52:27 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!not-for-mail
From: "Rick Ingham" <rdingham@home.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: I need a window which is modal
Date: Wed, 17 Jan 2001 06:46:22 -0800
Organization: Another Netscape Collabra Server User
Lines: 24
Message-ID: <944b6j$pcp18@bornews.inprise.com>
References: <3a6369f0_1@dnews>  <3a6564c7$1_2@dnews>
NNTP-Posting-Host: c191422-a.sttln1.wa.home.com
Mime-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400