Button « JInternalFrame « Java Swing Q&A





1. How to invoke a JInternal Frame from a button?    coderanch.com

Have you set up the button on the internalframe to close that internal frame? If you haven't, you need to. check out the dispose() method in JFrame. Once that structure is in place,use the getX() and getY() to find the origin position of your dying internalframe before you dispose of it. Then call your new Internalframe. Once it exists, you can ...