0

Hi,

I want to get the object of the currently open JFrame?

I found this

 Frame[] frames = Frame.getFrames();

Does this provide the open frames?
If so how to get the frame that i need.

Plz Help..

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by stultuske
0

yes, how do you decide on which one you need? iterate over that array and compare each instance with the one you're looking for.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.