Skip to main content
gamedev.net
🔒 Locked

[java] Swing Question

Started by Sieggy Aug 13, 2001 at 2:50 PM 1 replies 500+ views
Original Post
Sieggy
Sieggy
I''m writing a little messaging application I wanted to try and find a way to automatically bring the application to the front after minimizing has taken place. Note, this is a swing based application (not an applet). Thanks ahead of time! Sieggy
loserkid
loserkid
g''day;

call this method in your class that extends JFrame:
this.setState(JFrame.NORMAL)

(when you want your frame to pop up)
simple as that

Cheers,
JP.


==============================================
I feel like a kid in some kind of store...
==============================================
www.thejpsystem.com
==============================================I feel like a kid in some kind of store... ============================================== www.thejpsystem.com
Sieggy
Sieggy
Thanks a bunch, I''ll give it a whirl today.

Sieggy

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.