Urgent! Looking for the approach to displaying dynamic 3D data structure ..

Dear all,

I am looking for the GUI "Input Form" approach for displaying the below dynamic 3D data structure.

+ Category 1

| - + Category 1 Item1

| - Categort 1 item 1 detail 1

| - Categort 1 item 1 detail 2

| - ...

| - + Category 1 Item 2

| - Category 1 item 2 detail 1

| - ....

+ Category 2

| - + Category 2 item 1

| - Category 2 item 1 detail 1

| - Category 2 item 1 detail 2

| - ...

I just thinking about JTable inside a JTable cell ... ... any good ideas?

Best Regards

[583 byte] By [anlipsa] at [2007-11-26 19:59:57]
# 1
Are you asking for a JTree?-Js
JSnakea at 2007-7-9 22:57:07 > top of Java-index,Desktop,Core GUI APIs...
# 2
http://java.sun.com/docs/books/tutorial/uiswing/components/tree.htmlthink this is what you need :)
alienchilda at 2007-7-9 22:57:07 > top of Java-index,Desktop,Core GUI APIs...
# 3

I am sorry that the first draft structure confused you all. Actually, I need to displayed the input form as a TABLE style like belowed re-drafted structure.

--

| CAT1 |

--

| | CAT1 ITEM1 |

--

| | | CAT1 ITEM1 DTL 1-1 | CAT1 ITEM1 DTL 1-2 | ... ....

--

| | | CAT1 ITEM1 DTL 2-1 | CAT1 ITEM1 DTL 2-2 | ... ....

--

| - ...

--

| | CAT1 ITEM2 |

--

| | | CAT1 ITEM2 DTL 1-1 | CAT1 ITEM2 DTL 1-2 | ... ....

--

| - ....

--

| CAT2 |

--

| | CAT2 ITEM1 |

--

| | | CAT2 ITEM1 DTL 1-1 | CAT2 ITEM1 DTL 1-2 | ... ....

--

| | | CAT2 ITEM1 DTL 2-1 | CAT2 ITEM1 DTL 2-2 | ... ....

--

| - ...

--

Thanks again for you all!

anlipsa at 2007-7-9 22:57:07 > top of Java-index,Desktop,Core GUI APIs...
# 4
Maybe this link will help you: http://www.crionics.com/products/opensource/faq/swing_ex/JTableExamples4.html
Rodney_McKaya at 2007-7-9 22:57:07 > top of Java-index,Desktop,Core GUI APIs...
# 5
Thanks Rodney, I think the JTable Example is suitable for me.But have try the example source, it cannot be run. Exception: "java.lang.StackOverflowError" happened ... ...
anlipsa at 2007-7-9 22:57:07 > top of Java-index,Desktop,Core GUI APIs...
# 6
Which one of them are you trying to run?
Rodney_McKaya at 2007-7-9 22:57:07 > top of Java-index,Desktop,Core GUI APIs...