How can I implement a horizontal Org chart in an applet, preferably with the same functionality as JTree?

Eugene Kuleshov

[FAQ Manager Note] While the following won't give you JTree compatability out of the box, you have two choices:

  • Create a wrapper component for a JHotDraw drawing that has a similar interface as JTree.
  • Create a new look and feel for JTree that displays the components horizontally

Take a look at JHotDraw http://www.javaworld.com/jw-02-2001/jw-0216-jhotdraw.html

This framework was developed by Erich Gamma (one of GoF guys) and pretty usable. Look for more at https://sourceforge.net/projects/jhotdraw/