File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Beans Property component

mark smith
Ranch Hand

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

Joined: Oct 16, 2003
Posts: 1101

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

Joined: Apr 05, 2005
Posts: 251
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?
I agree. Here's the link:
subject: Beans Property component
It's not a secret anymore!