Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SwiXml - Issue in providing checkbox for JTree nodes

 
Samba Medavarapu
Greenhorn
Posts: 6
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic