I' like to ask how to create a proterties window? i.e. I want to create two frames in the main screen, one of them is a properties window, when I select an object in another window, the properties will be shown in properties window, just like most of the IDEs do.
I do not know which component is fitly, can any one help?
But what I want is not to show Bean info, I just want create a window to place my properties table in. How could I create that kind of window? Should I use a JPanel or a JInternalFrame so that I can split between this windows and main window as weel as close it separately?
Joined: Sep 29, 2003
I haven't used the class/library myself, but the description says
Editing properties This is the main job of the PropertySheet component, it puts together a list of properties and their editors. Each property is given a name, a type, a description.It also supports JavaBeans through BeanInfos and PropertyDescriptors.
Which makes me beleive that it does Beans, but it does other properties too. Maybe you actually looked at the javadocs/code and saw that it just does beans, but the paragraph above makes me think it does more.
Joined: Nov 17, 2002
sorry， I did not make my words clear.
I can show the properties by myself (maybe I should use l2fprod ). But what confused me now is that I need to put the proterties table into a panel or a frame, so that to make it can close sperately and split between other window.
i.e. I need a container, which is fitly? I use a JPanel now and set it invisible when user close the properties window, but I think there must be some way more neat.