Java Beans - creating an inspector window

后端 未结 4 986
温柔的废话
温柔的废话 2021-01-14 12:19

I\'m wondering whether there is an existing Java class that, given a Java bean, uses introspection to find all the publicly modifiable fields, and displays them using defaul

相关标签:
4条回答
  • 2021-01-14 12:43

    NetBeans is open source; you could use that (i.e. find the relevant piece of code within the project - I think it's called the Inspector)

    0 讨论(0)
  • Looks like L2FProd commons library has something just up my alley:

    http://www.l2fprod.com/common/

    Searching some more on StackOverflow turned up this answer, in which Yan Cheng Check noted that he extended the classes to be exactly what I need: ObjectInspectorJPanel EnumComboBoxPropertyEditor

    0 讨论(0)
  • 2021-01-14 12:56

    Found another potential one: Java-Bean-Examiner. But I cannot log into the CVS to download the source.

    0 讨论(0)
  • 2021-01-14 13:04

    Sound like you want the old sun BeanEditor

    0 讨论(0)
提交回复
热议问题