Netbeans custom component properties -
this might stupid question possible netbeans ide add custom properties custom component have placed in palette , if how? have been looking on internet , haven't found me figure out.
thanks, martin s.
let me state requirement in words first.
- you need custom swing components in palette
- you need new custom properties custom components
- you want new properties appear in properties panel can set them in design time
the above mentioned things possible in netbeans ide.
netbeans ide allows add custom components palette. need follow rules follows:
- the custom component shall have no arguments constructor
- the custom component shall in compiled state, palette manager uses class file add it.
- the new properties automatically shown in properties panel, provided have valid getter , setter methods according java bean standards.
i have not written method of adding custom component palette have done mentioned you. netbeans palette allows create new palette categories , add new components palette jar file, or project if class compiled.
with regards
tushar
enter code here
Comments
Post a Comment