| JMenuItems do not display in design view [message #137485] | 
Thu, 03 May 2007 12:28   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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 09:43   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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 09:43   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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! 
>
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.06233 seconds