MDI performance problem with JInternalFrames
Posted on 2001-07-09
I'm creating an applet which implements a MDI (Multiple Document Interface) using the jdk 1.2 (with respective swing components from the javax.swing.* package). The MDI consists of a JFrame which contains a JDesktopPane. JInternalFrames are created and then added to the JDesktopPane (via a separate Thread) using the method call:
The JInternalFrames appear on the JDesktopPane OK, however their GUI performance is terrible. Repositioning (draging and droping) or resizing the window is excrusiatingly slow (about 20x slower than using simple JFrames).
Does anyone know how I could improve the GUI performance of my MDI so that my
JInternalFrames respond about as well as if I used JFrames?