Skip to main content



      Home
Home » Archived » Visual Editor (VE) » How to use beans
How to use beans [message #23605] Mon, 08 March 2004 21:43 Go to next message
Eclipse UserFriend
Originally posted by: wang2wy.tom.com

I added a bean and two JButtons to a JFrame,I want to join JButton's
actionPerformed to bean's method,

How can i do?
Have a way to do this with Drag-and-Draw?

Thanks
Re: How to use beans [message #23782 is a reply to message #23605] Tue, 09 March 2004 10:59 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

It's done by using events. On the JButton, bring up the popup menu,
expand the "Add Events" submenu and select actionPerformed. This will
add the event in code. And then from the code you do what you want to do
to the bean.


--
Thanks, Rich Kulp

Re: How to use beans [message #583870 is a reply to message #23605] Tue, 09 March 2004 10:59 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

It's done by using events. On the JButton, bring up the popup menu,
expand the "Add Events" submenu and select actionPerformed. This will
add the event in code. And then from the code you do what you want to do
to the bean.


--
Thanks, Rich Kulp

Previous Topic:extend ve
Next Topic:Generic PropertyEditors for type Object and Interfaces
Goto Forum:
  


Current Time: Thu May 08 01:24:55 EDT 2025

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

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

Back to the top