Hello,
Does anyone have any experience with the subject line. I am creating an object viewer that uses reflection to display all the fields of a selected Object. Object type fields will be a tree node that can be expanded and will just have the name of the field as a JLabel. All the primitive data types will be a single tree node as a JTable that can be edited. I am currently having two problems:
1.) The table is being partially displayed, I can see all the data but the left and top border of the table is missing
2.) I can’t select anything, it seems to me that cells can
be highlighted by default on a JTable usually.
I could probably solve everything by making a custom table using JPanels,JLabels,JTextBox, and GridLayout but just wondering if I am missing anything obvious(which is usually the case!). This may not seem related to game development but I am creating an application so that I can view my simple scenegraph and change values on the fly to see the result.
Thanks,
Steve
. I found the answer to number 2 (set editable on the tree and write a TreeCellEditor) however number 1 is still a problem.