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

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 2011-08-19 02:11 -0700
Organization http://groups.google.com
Message-ID <80438743-da85-4d10-b97f-2e8a457c0360@w11g2000vbp.googlegroups.com> (permalink)

Show all headers | 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