Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » JMenuItems do not display in design view
JMenuItems do not display in design view [message #137485] Thu, 03 May 2007 16:28 Go to next message
Eclipse UserFriend
Originally posted by: corn29.excite.com

Hello,

I'm running Eclipse 3.2.0 and VE 1.2.0.

The JMenuItems do not show in the design view.

Here's the steps to what I'm doing. First, I create a new visual class,
throw a JMenuBar on the ContentPane, then a JMenu on the JMenuBar, and
finally drag a JMenuItem on the JMenu.

Then I set the text for the JMenu (File) and JMenuItem (Open). The
problem is from within the IDE, I never see the Open menu item visually;
it only appears at runtime. What if I want to make a sub menu, do I have
to do that by hand from within code? Or is there a setting or
configuration item which I am missing?

Thanks for your time!
Re: JMenuItems do not display in design view [message #137558 is a reply to message #137485] Sun, 06 May 2007 13:43 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
Adam,

There's no way in the VE to manipulate the JMenuItems graphically. You
can however set them up by selecting JMenuItems from the palette and
dropping them onto the JMenu on the Java Beans view. You can reorder
them by dragging them up and down in the beans view, and you can change
the displayed text by right clicking and selecting Set Text.

Hope this helps,
- Jeff

Adam wrote:
> Hello,
>
> I'm running Eclipse 3.2.0 and VE 1.2.0.
>
> The JMenuItems do not show in the design view.
> Here's the steps to what I'm doing. First, I create a new visual class,
> throw a JMenuBar on the ContentPane, then a JMenu on the JMenuBar, and
> finally drag a JMenuItem on the JMenu.
> Then I set the text for the JMenu (File) and JMenuItem (Open). The
> problem is from within the IDE, I never see the Open menu item visually;
> it only appears at runtime. What if I want to make a sub menu, do I
> have to do that by hand from within code? Or is there a setting or
> configuration item which I am missing?
>
> Thanks for your time!
>
Re: JMenuItems do not display in design view [message #615218 is a reply to message #137485] Sun, 06 May 2007 13:43 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
Adam,

There's no way in the VE to manipulate the JMenuItems graphically. You
can however set them up by selecting JMenuItems from the palette and
dropping them onto the JMenu on the Java Beans view. You can reorder
them by dragging them up and down in the beans view, and you can change
the displayed text by right clicking and selecting Set Text.

Hope this helps,
- Jeff

Adam wrote:
> Hello,
>
> I'm running Eclipse 3.2.0 and VE 1.2.0.
>
> The JMenuItems do not show in the design view.
> Here's the steps to what I'm doing. First, I create a new visual class,
> throw a JMenuBar on the ContentPane, then a JMenu on the JMenuBar, and
> finally drag a JMenuItem on the JMenu.
> Then I set the text for the JMenu (File) and JMenuItem (Open). The
> problem is from within the IDE, I never see the Open menu item visually;
> it only appears at runtime. What if I want to make a sub menu, do I
> have to do that by hand from within code? Or is there a setting or
> configuration item which I am missing?
>
> Thanks for your time!
>
Previous Topic:Is VE for Eclipse 3.3 coming?
Next Topic:How to show Properties when editing JFrame
Goto Forum:
  


Current Time: Wed Nov 26 18:55:11 GMT 2014

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

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