File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes SwiXml - Issue in providing checkbox for JTree nodes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SwiXml - Issue in providing checkbox for JTree nodes" Watch "SwiXml - Issue in providing checkbox for JTree nodes" New topic
Author

SwiXml - Issue in providing checkbox for JTree nodes

Samba Medavarapu
Greenhorn

Joined: Jun 21, 2013
Posts: 5
    
    1
Hi,

We are using SwiXml 1.5 to develop a UI. We are getting issue while displaying JTree with checkbox option. We found below url to achieve the same thing
http://www.java2s.com/Tutorial/Java/0240__Swing/CheckBoxTreenode.htm

We have customised the TreeTest.java class as per SwiXml



We have configured the XML with InitClass as below


Following is TreeTest.java
==========================



We can find other required class files(QuestionCellRenderer/QuestionCellEditor/TrueFalseTreeNodeData) from the URL
http://www.java2s.com/Tutorial/Java/0240__Swing/CheckBoxTreenode.htm

We are successfully executed the jave program given in above URL. We are getting issue with our customization according SwiXml.

We are getting A=false,B=false,c=false under ROOT. Some how, could not able to provide checkbox for the subnodes of tree.

Please suggest, if Iam doing some thing wrong.

It would be really great help, if you can suggest on this.

Thanks,
Samba.
 
 
subject: SwiXml - Issue in providing checkbox for JTree nodes
 
Similar Threads
JTree
JTree expand node and highlight
JTree with checkboxes not getting updated question
Subtree in JTree
JTable In JTree