🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to close a JDialog

#1547
From: Mynor Paredes
Date: Thu, 30 Oct 2003 20:37
7 lines
1214 bytes
Hello.  I have a JDialog (jdlg_a) with a JPanel(jp_a) as a component.
The jdlg_a is undecorated.
jp_a has 2 buttons, "Ok" and "Cancel".  When I press any of these buttons, I
want the jdlg_a to be closed, how can I do this?

Thank you four your help.
Mynor Paredes
Technical Details
Message-ID: <3fa1769a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,9b06c5d510019547,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-10-30 12:38:47 PST
Reply-To: "Mynor Paredes" <paredes_mynor@hotmail.com>
From: "Mynor Paredes" <paredes_mynor@hotmail.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: How to close a JDialog
Date: Thu, 30 Oct 2003 12:37:47 -0800
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 66.122.154.62
Message-ID: <3fa1769a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067546266 66.122.154.62 (30 Oct 2003 12:37:46 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail