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.
I have one parent JFrame in that I have two buttons, IF i click the first button I want to open one jInternalframe . in the opened jinternalframe I have one close button. if i press the close button, the internal frame should be closed, not the parent frame.please anybody can help me by writing 15 lines of code?
I assume that you've gone through the Sun tutorial on how to use internal frames? If so, it should have laid it all out for you. A better question here then may be "what specifically in the tutorial did you not understand?" I also second the recommendation above that you post your current code and explain how it's not working.
If you do post your code, you will do well to make it compilable, and simple as possible. I recommend that you use simple layouts here and avoid using NetBeans generated layouts as not all of us can compile these and they are large, bulky, and ugly as sin. Good luck. [ October 22, 2008: Message edited by: pete stein ]