Login:    

useradd
more /root/Bugs/Windows Open Out of View.thread
2008-10-06 01:04:49cheeseboy
Often when opening a window part of it is out of the view and the scroll bar doesn't appear until you move the window.
2008-12-15 00:43:37Bob the BlueBerry
That can be solved by component.updateUI()
2008-12-15 01:51:26IsmAvatar
Actually no it can't. Like most panes, adding components to them does not cause them to attempt to resize, nor does updating the UI. Instead, only informing the pane to pack or resize will solve this. MDIPane provides a built in method to calculate its new size, however this has a large amount of overhead which would not be necessary here, and the slowdown is very noticeable. A lower level solution would be needed.
2009-03-20 19:47:18Bob the BlueBerry
It's not fixable. I've tried it all. (has to create/alter some methods)

Quote
LGM.mdi.getScrollPane().updateUI();
LGM.mdi.addNotify();
LGM.mdi.repaint();
LGM.mdi.resizeDesktop();
LGM.mdi.updateUI();
LGM.mdi.getMDIManager().endDraggingFrame(frame);
LGM.mdi.setSize(1000,1000);
LGM.mdi.getScrollPane().updateUI();
LGM.mdi.getScrollPane().getVerticalScrollBar().updateUI();
LGM.mdi.getScrollPane().getHorizontalScrollBar().updateUI();
LGM.mdi.getScrollPane().getViewport().updateUI();