You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Edi <ed...@yahoo.com> on 2009/04/22 07:43:06 UTC

Re: Wicket Tree with Swing DefaultMutableTreeNode

Hello,

I have a wicket tree code. Is it possible to each node with checkboxk in a
wicket tree. herewith I have attached my source code.

Without checkout box of tree is working fine. 

But I am not able to add checkbox. 

Please check the attachment code and advise.

Thanks and Regards,
Edi http://www.nabble.com/file/p23170043/Treepanel.java Treepanel.java 
http://www.nabble.com/file/p23170043/TreePanel.html TreePanel.html 


Michael Allan wrote:
> 
> 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
> 
> Toronto, 647-436-4521
> http://zelea.com/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Wicket-Tree-with-Swing-DefaultMutableTreeNode-tp18486972p23170043.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket Tree with Swing DefaultMutableTreeNode

Posted by JulianS <js...@yahoo.com>.
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.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org