Multiple « JInternalFrame « Java Swing Q&A





1. Shared object between multiple JInternalFrames    stackoverflow.com

What's the most efficient method of implementing a shared data object between multiple JInternalFrames on a single JDesktopPane? Not sure whether to go with singleton or can I put a data object ...

2. Problems with multiple JInternalFrames    coderanch.com

I have the following code: public void createInternalFrame( File f ) { internal = new JInternalFrame( "" , true , true , true , true ); internal.addInternalFrameListener( new InternalFrameAdapter() { public void internalFrameClosed( InternalFrameEvent e ) { internalFrameCount-- ; } } ); appPanel = new JPanel(); fileData = new JList(); fileData.setListData( new FileDataReader( f ).getData().toArray() ); fileData.addListSelectionListener( new FileDataListListener() ); offsetField ...

3. problem using inputverifier while using multiple internalframes    coderanch.com

What should be the behavior of an InputVerifier if you are transfering focus directly to a component in a differnet FocusCycleRoot? For example, I have an application frame (JFrame) in which multiple applications can be running (JInternalFrames). If I have focus on a field in one application, and switch to another application (ie focus xfers to a different focus cycle root ...

4. Multiple JInternalFrame    forums.oracle.com