Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply 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:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Minimizing and Maximizing

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic