Re: Wicket Tree with Swing DefaultMutableTreeNode

2009-04-22 Thread JulianS
Hi, I did it a different way. I have no problem adding checkboxes with this technique. See http://javathoughts.capesugarbird.com/2009/03/jquery-tree-table-for-wicket.html. -- View this message in context: http://www.nabble.com/Wicket-Tree-with-Swing-DefaultMutableTreeNode-tp18486972p23175575

Re: Wicket Tree with Swing DefaultMutableTreeNode

2009-04-21 Thread Edi
t; > Toronto, 647-436-4521 > http://zelea.com/ > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/Wicket-Tree-with-Swing-Default

Re: Wicket Tree with Swing DefaultMutableTreeNode

2008-07-16 Thread Michael Allan
Can't answser the Wicket side, but consider: a) Swing is not thread-safe b) it is often better to code your own TreeNode as a bridge to the underlying reality (Wicket's models?); rather than using DefaultMutableTreeNode, which is a full-blown model in itself -- Michael Allan Toro

Wicket Tree with Swing DefaultMutableTreeNode

2008-07-16 Thread Edi
Hello, I am using wicket tree with swing DefaultMutableTreeNode. In render node, i am writing the tree headers labels. protected String renderNode(TreeNode node) { TreeItem item = (TreeItem) ((DefaultMutableTreeNode) node).getUserObject(); return item.getName