Skip to main content



      Home
Home » Archived » Visual Editor (VE) » How to add JMenuItem to JMenu?
How to add JMenuItem to JMenu? [message #76613] Thu, 13 January 2005 04:59 Go to next message
Eclipse UserFriend
Originally posted by: eclipse.knowthem.de

First i make a visual class (Jframe) with JPanel in it. Then I make a
JMenuBar and put JMenu's in it. But if I try to put JMenuItem's in the
JMenu's the cursor shows a 'x' -> don't work. I only can put Items in the
JPanel, but the Item is not connect withe the Menu. How can I make this
with Drag'n'Drop?
Thanks! Sorry for the bad english ;)
Re: How to add JMenuItem to JMenu? [message #76629 is a reply to message #76613] Thu, 13 January 2005 05:06 Go to previous messageGo to next message
Eclipse UserFriend
Try using the Java Beans view. You should be able to click on a
JMenuItem and drop it on the JMenu there.

@D

Gerrit Brehmer wrote:
> First i make a visual class (Jframe) with JPanel in it. Then I make a
> JMenuBar and put JMenu's in it. But if I try to put JMenuItem's in the
> JMenu's the cursor shows a 'x' -> don't work. I only can put Items in
> the JPanel, but the Item is not connect withe the Menu. How can I make
> this with Drag'n'Drop?
> Thanks! Sorry for the bad english ;)
>
Re: How to add JMenuItem to JMenu? [message #76644 is a reply to message #76629] Thu, 13 January 2005 05:40 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.knowthem.de

Thanks!

David Gallardo wrote:

> Try using the Java Beans view. You should be able to click on a
> JMenuItem and drop it on the JMenu there.

> @D

> Gerrit Brehmer wrote:
>> First i make a visual class (Jframe) with JPanel in it. Then I make a
>> JMenuBar and put JMenu's in it. But if I try to put JMenuItem's in the
>> JMenu's the cursor shows a 'x' -> don't work. I only can put Items in
>> the JPanel, but the Item is not connect withe the Menu. How can I make
>> this with Drag'n'Drop?
>> Thanks! Sorry for the bad english ;)
>>
Re: How to add JMenuItem to JMenu? [message #604378 is a reply to message #76613] Thu, 13 January 2005 05:06 Go to previous message
Eclipse UserFriend
Try using the Java Beans view. You should be able to click on a
JMenuItem and drop it on the JMenu there.

@D

Gerrit Brehmer wrote:
> First i make a visual class (Jframe) with JPanel in it. Then I make a
> JMenuBar and put JMenu's in it. But if I try to put JMenuItem's in the
> JMenu's the cursor shows a 'x' -> don't work. I only can put Items in
> the JPanel, but the Item is not connect withe the Menu. How can I make
> this with Drag'n'Drop?
> Thanks! Sorry for the bad english ;)
>
Re: How to add JMenuItem to JMenu? [message #604382 is a reply to message #76629] Thu, 13 January 2005 05:40 Go to previous message
Eclipse UserFriend
Thanks!

David Gallardo wrote:

> Try using the Java Beans view. You should be able to click on a
> JMenuItem and drop it on the JMenu there.

> @D

> Gerrit Brehmer wrote:
>> First i make a visual class (Jframe) with JPanel in it. Then I make a
>> JMenuBar and put JMenu's in it. But if I try to put JMenuItem's in the
>> JMenu's the cursor shows a 'x' -> don't work. I only can put Items in
>> the JPanel, but the Item is not connect withe the Menu. How can I make
>> this with Drag'n'Drop?
>> Thanks! Sorry for the bad english ;)
>>
Previous Topic:How to add JMenuItem to JMenu?
Next Topic:Extending ve palette
Goto Forum:
  


Current Time: Sun May 11 11:27:01 EDT 2025

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

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

Back to the top