This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Urgent - controlling frame restore/maximize button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Urgent - controlling frame restore/maximize button" Watch "Urgent - controlling frame restore/maximize button" New topic
Author

Urgent - controlling frame restore/maximize button

darren green
Greenhorn

Joined: Sep 17, 2001
Posts: 6
hello, the problem i'm having is;
is there a way i can set a frames "restore/maximum" button.
i am running an applet that creates a frame that the user can resize.
i have added an "actual size" checkbox to set the size of the frame to the preferred size of the component.
the trouble i'm having is, if the frame is maximized and i click the "actual size" the frame sizes properly but the "restore/maximize buton" of the frame stays set to "restore" instead of turning into "maximize"
any help would be greatly appreciated, thanx
[ September 01, 2002: Message edited by: darren green ]
[ September 01, 2002: Message edited by: darren green ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Urgent - controlling frame restore/maximize button