Because of the way JInternalFrames work, you can't call setSelected(true) before the 
toplevel frame is "realized" and visible on the screen. This means that programs that 
open internal frames as a part of startup(ie before the main frame is made visible) 
will end up with no internal frame having its title bar painted to indicate it's 
"active/selected". There's a JDC bug that was filed, but it was closed as "not a bug":

http://developer.java.sun.com/developer/bugParade/bugs/4310471.html


Does anyone have a reliable way of opening and preselecting an internal frame for the 
case where it needs to be done prior to the parent frame being made visible? 

Thanks,

John
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to