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.