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

Forum statistics

Threads
473,781
Messages
2,569,615
Members
45,297
Latest member
EngineerD

Latest Threads

Top