Adding a property to JMyPanel [message #100672] |
Fri, 29 July 2005 08:50  |
Eclipse User |
|
|
|
Originally posted by: mr.smith.vous.etes.dans.la.matrice.com
Hello,
let's say that i want to make a class JMyPanel wich extends JPanel. I want add an event, or a bean property (simple, bound, ...) to my class, is there any wizard/helper in VE to help me doing it?
TIA
|
|
|
Re: Adding a property to JMyPanel [message #100696 is a reply to message #100672] |
Fri, 29 July 2005 10:37  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Use the standard BeanInfo definition of an event or property.
See:
http://java.sun.com/products/javabeans/docs/spec.html
The easiest thing is to have your class follow the design patterns for
properties and events in your class and they will picked up automatically.
Mr Smith wrote:
> Hello,
>
> let's say that i want to make a class JMyPanel wich extends JPanel. I want add an event, or a bean property (simple, bound, ...) to my class, is there any wizard/helper in VE to help me doing it?
>
> TIA
--
Thanks,
Rich Kulp
|
|
|
Re: Adding a property to JMyPanel [message #610071 is a reply to message #100672] |
Fri, 29 July 2005 10:37  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Use the standard BeanInfo definition of an event or property.
See:
http://java.sun.com/products/javabeans/docs/spec.html
The easiest thing is to have your class follow the design patterns for
properties and events in your class and they will picked up automatically.
Mr Smith wrote:
> Hello,
>
> let's say that i want to make a class JMyPanel wich extends JPanel. I want add an event, or a bean property (simple, bound, ...) to my class, is there any wizard/helper in VE to help me doing it?
>
> TIA
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.02798 seconds