JMenuBar « JInternalFrame « Java Swing Q&A





1. JMenuBar & JInternalFrame    coderanch.com

2. JFrame, JMenuBar, JInternalFrame    forums.oracle.com

Please submit your question in the form of a question I assume that the question is "how do I only allow 1 internal frame to be added?" There are a number of ways you could do this. You could disable the menuItem after the first one has been added, you could keep a member or static variable for the internal frame ...