Any way of determining a pop-up window?

R

ruds

Hi,
Is there a way to determine if a window opened is pop-up or no?
I want to add some functionality to only pop-up windows in my
application.
 
M

Martin Gregorie

Hi,
Is there a way to determine if a window opened is pop-up or no?
I want to add some functionality to only pop-up windows in my
application.
If you mean windows handled by the Popup or JOPtionPane class, then
the answer is "anything you can put in a Component subclass".

If you mean an extra window that your application instantiates as a
JWindow or JFrame and makes visible when the user requests it by some
action in the main window, than it will contain whatever functionality you
choose to define when you write the window's defining class.

If you mean anything else, kindly explain yourself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top