| 
| JInternalFrame visibility [message #20243] | Sun, 22 February 2004 03:11  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: appel__.hotmail.com 
 Hi,
 
 I'm using Eclipse M7 with VE-runtime-I20040219.
 
 When adding an JInternalFrame to a JDesktopPane the propertypane for the
 internal frame says its visible property is set to true. But it's not.
 
 I think it says in the javadoc for JInternalFrame that one must explicitly
 setVisible(true) and that code isn't generated automatically. I had to
 first set visible to false, and then true for the correct code to be
 generated.
 
 Is this a bug or am I doing something wrong?
 
 /Johan Appelgren
 |  |  |  | 
|  | 
| 
| Re: JInternalFrame visibility [message #20639 is a reply to message #20247] | Mon, 23 February 2004 16:07  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: appel__.hotmail.com 
 On Mon, 23 Feb 2004 09:21:50 -0500, Rich Kulp wrote:
 
 > For a JInternalFrame, we hide the visible property. For a JInternalFrame
 > you are supposed to use the show/hide methods, not the visible property.
 > (I think you may be thinking of the old AWT Frame, you used to use set
 > visible, but show()/hide() are the expected methods to do this now even
 > for frame).
 
 Yes, you are right.
 
 Thanks.
 |  |  |  | 
| 
| Re: JInternalFrame visibility [message #582250 is a reply to message #20243] | Mon, 23 February 2004 09:21  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: richkulp.NO.SPAM.us.ibm.com 
 Hi,
 
 For a JInternalFrame, we hide the visible property. For a JInternalFrame
 you are supposed to use the show/hide methods, not the visible property.
 (I think you may be thinking of the old AWT Frame, you used to use set
 visible, but show()/hide() are the expected methods to do this now even
 for frame).
 
 I think you may have the contentpane of the internal frame selected
 instead of the internal frame itself. The content pane has the visible
 property, and it is defaulted to true for it.
 
 --
 Thanks, Rich Kulp
 
 |  |  |  | 
| 
| Re: JInternalFrame visibility [message #582274 is a reply to message #20247] | Mon, 23 February 2004 16:07  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: appel__.hotmail.com 
 On Mon, 23 Feb 2004 09:21:50 -0500, Rich Kulp wrote:
 
 > For a JInternalFrame, we hide the visible property. For a JInternalFrame
 > you are supposed to use the show/hide methods, not the visible property.
 > (I think you may be thinking of the old AWT Frame, you used to use set
 > visible, but show()/hide() are the expected methods to do this now even
 > for frame).
 
 Yes, you are right.
 
 Thanks.
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.05024 seconds