• Post Reply Bookmark Topic Watch Topic
  • New Topic

Minimizing and Maximizing  RSS feed

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

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!