Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Maximizing and Minimizing

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
    Bookmark Topic Watch Topic
  • New Topic