This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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: 6
    
    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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: SwiXml - Issue in providing checkbox for JTree nodes
 
It's not a secret anymore!