Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

JFrame Focus?

$
0
0
Hi, I have a quick question I'm hoping I can get a little help with.
I have multiple GUI windows for various tasks. (Create/Delete Account...etc), When when I'm done. I want to send the info and then switch back to my main frame while closing the create/delete window.

I've been searching the javadocs, but can't seem to find what I'm looking for. Just need something to show which window is on top so I can close it before re-popping the mainFrame, without having to search each instance like...
if( currentFrame.equals("createFrame") // where currentFrame is string holding current window status?
...



With at least 10 windows just on administration side of this project seems far too exhaustive. Any help is appreciated!

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>