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.
Richards Milan wrote:HI kemal >> I had used frame.setVisible(true); in my program but forgot to copy it while posting >> can you suggest something else ?
I see you used it, it is in the code you posted. You should just move it to be the last statement in your code. Another approach is to invoke frame.revalidate() also as the last statement, but I would suggest you do the first one.