Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Beans Property component

 
mark smith
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Every ide, like netbeans, eclipse, have a component to display bean property and its value.

Like if you select a jlist, you can see its property and its values.

I search a way or a component to be able to display and modify property of a bean.

I done some search but don't found nothing usefull.

Any tips or component?
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can start with understanding how to define a BeanInfo from the tutorial
and this page talks about PropertyEditor and PropertyEditorSupport.

These are part of the standard JDK. Builders like NetBeans make use of these classes to build and show the property sheet.

The property view used in NetBeans is available as an open-source jar named: org-openide-explorer.jar. The classes PropertySheet and PropertySheetView from this library would be interesting for you.
 
mark smith
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i checked your link

i read a xml file



and feed somes object



i saw there is l2fprod component who do: Editing properties

i thought with my bean i would seed something like

name = copy file
property = recusrisve
values = yes, no (in a combobox)
filter = *.txt in a combobox

i only see the name, property seem empty and seem like an array

does i fail in the way i created my bean?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic