Solved

Java swing component to render a tree table

Posted on 2009-03-29
3
1,172 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

695 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