Solved

Java swing component to render a tree table

Posted on 2009-03-29
3
1,165 Views
Last Modified: 2013-11-23
Hi,
I am new to swing, but have a good knowledge of java in general.

I am looking for a swing component to render a tree table, that its nodes are tables.
The nested tables have different columns (name and type) then the wrapping table.
The nested tables may also be table trees that will be expanded to more hierarchy's level.
Attached is a screenshot of what I am trying to get.

Does anyone know how to code this component, which swing components to use etc? Does anyone knows a third party component that does something similar? Any help will be very appreciated!
TableTree.JPG
0
Comment
Question by:amazingwolf1
  • 2
3 Comments
 
LVL 12

Expert Comment

by:basav_com
ID: 24012878
0
 
LVL 4

Author Comment

by:amazingwolf1
ID: 24012990
I'm afraid its not what I need.
In both of the examples there is an ordinary tree table implementation, which btw  can also be done with JXTreeTable.
What I refer to as the "ordinary" functionality, is diaplying the same information for all levels:
For example - At file system tree.
The highest level is directory - and we display Name, Size, date modified.
For the next child level - files, we display again the same data at the same colums - name size etc.
That functionality is rather easy to get.
But what if I want to display data about author and mime type for files only?
I want to be able to display different information per hierarchy level, as I demonstrated in the attached screenshots.
I couldnt find similar example in the net yet.
0
 
LVL 4

Accepted Solution

by:
amazingwolf1 earned 0 total points
ID: 24040699
After consulting a swing Guru, I realized the solution will be to create a control myself, while implementing the sort, expand, collaps etc by a combination of seperate tables.

Is there any other option, or does this sums it up?
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
even odd program using while loop 3 74
spring jars download 1 53
throw exception 21 69
Fast way to search item into Java Array (Rhino compatible) 2 39
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question