Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / December 2003

Tip: Looking for answers? Try searching our database.

Have a look at my TreeTable implementation

Thread view: 
Vincent Vollers - 19 Dec 2003 18:22 GMT
I needed to use a TreeTable for the program I was writing and it struck me
how very little information there is about this subject. Ok, there are a few
examples on SUN's website, but they are needlessly complex. So I decided to
make a generic implementation along with a couple of examples. I also
improved upon the original JTreeTable by making it sortable and by adding a
few functions which help with opening/closing nodes. It's not in an
extensive tutorial form, but I hope the examples are easy enough to
understand for everyone to start playing with it.

you can take a look here:
http://cal007300.student.utwente.nl/treetables/

The examples are as below:
- An example of a simple (sortable) JTreeTable
- An example which shows how to update/sort the treetable when you add
nodes every second.
- An example which shows how to update the nodes in a table (in this case
integers which are represented by a JScrollBar) and which shows how to make
the 'parent' nodes represent the average of their child nodes.
- An example (not really treetable though) which shows how to have working
hyperlinks in a JTable.
- An example which shows how to have working hyperlinks in a sortable
TreeTable.

Also check out the media section :) (totally oftopic, but nice nonetheless)

If you like it, I would ask of you to create one small example to show
something of which there is no example yet, so I can add it to the examples.
Also, for bug reports (and fixes!), new features, improvements, corrections,
hate and fan mail you can contact me at vincentv@thevoid.demon.nl

Regards,
- Vincent Vollers
Andrew Thompson - 20 Dec 2003 04:31 GMT
Hi Vincent!
...
> you can take a look here:
> http://cal007300.student.utwente.nl/treetables/
>
> The examples are as below:

Have you considered providing examples of
the TreeTables straight off the net?  I mean
the abilitiy to launch a Frame containing
the Tree?

It is quite easy, I have an exapmle at my site.
http://www.physci.org/codes/display.jsp?fl=/test/Launcher/Launcher.java

--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
Vincent Vollers - 22 Dec 2003 14:21 GMT
> Hi Vincent!
> ...
[quoted text clipped - 16 lines]
> * http://www.1point1C.org/ 1.1C - Superluminal!
> * http://www.AThompson.info/andrew/ personal site

Hi Andrew,

That is a good idea! I will do something like that, except that I will go
with Java Web Start I think. You can argue that having a 'launcher' applet
will work on older browsers and older JVM's but this will give me a chance
to play around with Web Start a bit. And I think everyone should install the
java plug-in anyway :)

Regards,
- Vincent
Andrew Thompson - 23 Dec 2003 01:25 GMT
....
> > > you can take a look here:
> > > http://cal007300.student.utwente.nl/treetables/
...
> > Have you considered providing examples of
> > the TreeTables straight off the net?
...
> > http://www.physci.org/codes/display.jsp?fl=/test/Launcher/Launcher.java
...
> That is a good idea! I will do something like that, except that I will go
> with Java Web Start I think. You can argue that having a 'launcher' applet
> will work on older browsers and older JVM's but this will give me a chance
> to play around with Web Start a bit. And I think everyone should install the
> java plug-in anyway :)

Huh! (chuckles)  It's almost as if you'd
been reading something like this..
http://www.physci.org/test/java/PlugIn.html

--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.