Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
    Bookmark Topic Watch Topic
  • New Topic

Maximizing and Minimizing  RSS feed

Posts: 8
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi All,

I already posted this in the swing forum but got no answer so i thought as this is one of the most visited forums i'd post it here as well. i realy need help on this one fast. thanks.

Ok what i would like to do is to create a main window which has place holders for variouse componants that i will be adding later. now i dont like the default close maximize and minimize buttons on an application so i got rid of them. but i still want to use the functions so i created another panel which at the moment works like a title bar in windows. it has the title and the close button which works fine but i also want to add a minimize button. I know that you can use the setState(Frame.ICONIFIED) method in the main window but what can i use in a seperate panel class and how.

Hope i was clear enough. if not tell me and i will try to be clearer.

thanks for everything in advance.
get schwifty. tiny ad:
ScroogeXHTML 7.2 - RTF to HTML5 / XHTML converter
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!