aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Beans Property component Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Beans Property component" Watch "Beans Property component" New topic
Author

Beans Property component

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 250
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

Joined: Oct 16, 2003
Posts: 1083
    
  10

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.


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 250
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Beans Property component