Skip to main content



      Home
Home » Archived » Visual Editor (VE) » JInternalFrame visibility
JInternalFrame visibility [message #20243] Sun, 22 February 2004 03:11 Go to next message
Eclipse UserFriend
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 #20247 is a reply to message #20243] Mon, 23 February 2004 09:21 Go to previous messageGo to next message
Eclipse UserFriend
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 #20639 is a reply to message #20247] Mon, 23 February 2004 16:07 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:JInternalFrame visibility
Next Topic:VE1.0.0 compatibility
Goto Forum:
  


Current Time: Sun May 04 10:40:36 EDT 2025

Powered by FUDForum. Page generated in 0.04175 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top