This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
How can I get just one instance of JFrame when I click on JButton?
Every time I click on the button I got a new JFrame over the old one.
I want to use one instance of the frame(and should be the first instance I created it when I click on the button) every time I click on the button
please help me.