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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SwiXml - Issue in providing checkbox for JTree nodes
 
Similar Threads
JTree expand node and highlight
JTree
JTable In JTree
Subtree in JTree
JTree with checkboxes not getting updated question