AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CheckBox nei nodi di una JTree

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
cccc
Guest





PostPosted: Mon May 24, 2004 12:56 pm    Post subject: CheckBox nei nodi di una JTree Reply with quote



Ciao a tutti,
sto cercando di capire se è possibile inserire un CheckBox in ogni nodo di
una JTree.
Ho fatto un po di ricerche si Google ma senza successo.

Qualcuno può aiutarmi?

Ciao,
CC


Back to top
Giorgio Gallo
Guest





PostPosted: Tue May 25, 2004 12:32 am    Post subject: Re: CheckBox nei nodi di una JTree Reply with quote



cccc wrote:

Quote:
Ciao a tutti,
sto cercando di capire se è possibile inserire un CheckBox in ogni nodo di
una JTree.
Ho fatto un po di ricerche si Google ma senza successo.

Qualcuno può aiutarmi?

Ciao,
CC



Cito dai javadoc di JTree:

To use JTree to display compound nodes (for example, nodes containing
both a graphic icon and text), subclass TreeCellRenderer and use
setCellRenderer(javax.swing.tree.TreeCellRenderer) to tell the tree to
use it. To edit such nodes, subclass TreeCellEditor and use
setCellEditor(javax.swing.tree.TreeCellEditor).

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.