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.

  1. you need custom swing components in palette
  2. you need new custom properties custom components
  3. 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:

  1. the custom component shall have no arguments constructor
  2. the custom component shall in compiled state, palette manager uses class file add it.
  3. 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

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -