Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7243

Event when JFileChooser, JDialog, or JFrame is setVisible'd, either true or false

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!69.16.185.21.MISMATCH!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!w11g2000vbp.googlegroups.com!not-for-mail
From Ross <rossclement@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Event when JFileChooser, JDialog, or JFrame is setVisible'd, either true or false
Date Fri, 19 Aug 2011 02:11:01 -0700 (PDT)
Organization http://groups.google.com
Lines 11
Message-ID <80438743-da85-4d10-b97f-2e8a457c0360@w11g2000vbp.googlegroups.com> (permalink)
NNTP-Posting-Host 80.176.151.208
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1313745163 19451 127.0.0.1 (19 Aug 2011 09:12:43 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Fri, 19 Aug 2011 09:12:43 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info w11g2000vbp.googlegroups.com; posting-host=80.176.151.208; posting-account=e1CBswoAAACHfb-egdiJeDKz3WQXJQFe
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order HUALESNKRC
X-HTTP-UserAgent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0.1) Gecko/20100101 Firefox/5.0.1,gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7243

Show key headers only | View raw


Is there a way of registering a listener onto an object of the types
JFileChooser, JDialog, JFrame, JWindow so that the even will be fired
when the dialog or frame is shown or hidden?

I can't find an appropriate type of listener that will work. I've
tried everything I can think might work from the various listeners
that can be applied to these classes, and nothing appears to work. Any
hints?

I do not want to have to add custom code to the JFileChooser, JDialog,
JFrame, JWindow classes.

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

Event when JFileChooser, JDialog, or JFrame is setVisible'd, either true or false Ross <rossclement@gmail.com> - 2011-08-19 02:11 -0700
  Re: Event when JFileChooser, JDialog, or JFrame is setVisible'd, either true or false Ross <rossclement@gmail.com> - 2011-08-19 02:25 -0700

csiph-web