Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PropertyGrid in Java Swing

Tags:

java

.net

swing

Does Java Swing have a control similar to the PropertyGrid in .NET?

if so, which one is it? Or at least which one comes closest to it?

Thanks!

like image 717
clamp Avatar asked May 08 '09 22:05

clamp


3 Answers

There is not a built-in component for this, but there are several third-party projects. In particular, Java-Bean-Examiner (GPL) looks promising.

Java-Bean-ExaminerJava-Bean-Examiner
(source: sourceforge.net)

Edit: Also L2FProd Common Components (Apache-licensed, which you may find more attractive than the GPL):

L2FProd PropertySheet http://l2fprod.com/common/images/PropertySheetPanel.gif

like image 68
Michael Myers Avatar answered Nov 10 '22 18:11

Michael Myers


Fork L2FProd Common Components on GitGub

like image 39
maslbl4 Avatar answered Nov 10 '22 20:11

maslbl4


I would recommend using JGoodies (Forms and Looks) to create your own property editor. It should be pretty quick to do and you can make it look much better than with the default Swing Look & Feel and layouts.

like image 1
Stephane Grenier Avatar answered Nov 10 '22 19:11

Stephane Grenier