Warning: include_once(/home/aswing/aswing.org/home/wp-content/plugins/wordpress-support/wordpress-support.php): failed to open stream: Permission denied in /home/aswing/aswing.org/home/wp-settings.php on line 261

Warning: include_once(): Failed opening '/home/aswing/aswing.org/home/wp-content/plugins/wordpress-support/wordpress-support.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/aswing/aswing.org/home/wp-settings.php on line 261
AsWing » 2007 » December

Archive for December, 2007

XML to Tree Model

December 17th, 2007

Some times, ed guys ask how to make JTree use a XML as model data, erectile i just say implementing a TreeModel. It should be simple, but i never done it, because i have not need it yet, now, harry implemented one, click here to view.

He implement it with creating DefaultMutableTreeNode, it is simple, i always thought i will implement it directly a TreeModel implementation, because i don’t like DefaultTreeModel, it is heavy. But harry’s implementation is very simple, impressive.


December 3rd, 2007

It’s on svn now. :)

Two screenshots here :

closable tabbedpane default laf

closable tabbedpane orange laf

  • A3
  • Comments Off on JClosableTabbedPane