• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using a treeview in IE and Netscape without plug-ins

 
Louis Simon
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
**Name Change, reposting**
Hi,
I am trying to figure out a way to use a tree view in an applet. I have considered swing class JTree but you need to have a Java plugin downloaded, not a solution for me.
So basically what I need is:
A way to create a tree view in an applet supported by IE and Netscape working with the native JVM of the browser.
Can I do that with JDK 1.1 from Sun? Is there another way to do it?
Tks
Louis
 
java puneri
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes we can do this with jdk1.1 using Graphics.
Simply draw the tree on Image object, then show this object on applet canvas.
Means for [+] you have to draw two lines vertical & horizontal & square around it!
Cheers!
PuneGuy !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic