Hi there;
I'm creating a GUI where I have a JFrame which has a JSplitPane that works as a divider between a JDesktopPane on one side and JTextArea on the other side. The problem is that I'm using the JDesktopPane side to:
1- Add new "JInternalFrames"
2- Draw some "graphics"
When I try to resize the JSplitPane. My JDesktopPane is repainted which undo all the changes I made in it. For example, I moved several JInternalFrames and then I resized the JSplitPane and that made my JInternalFrames go back to their initial locations. How can I avoid this? In other words, How can I cancel the effect of resizing JSplitPane on the contents of my JDesktopPane?
Thanks for help,
Java Lover.