Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jtree Editing  RSS feed

 
Ravi Mandalapu
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I created Jtree. After editing the node(when i press ENTER key) it is displaying the error message as
"java.lang.IllegalArgumentException".
If any body help me out with some solution it will be great.
Thanks in advanch.
Ravi
 
deekasha gunwant
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ravi,
seems there is some problem with your renderer/model/editor.
so could u let us know whether your tree nodes are pure text based or not.
since following smal code is running fince. u can see it your self.

regards
Deekasha
 
Ravi Mandalapu
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Deekasha,
Thanks for your reply. I found the solution for that , it's the problem with Metadata.
Any way i posted one of my problem above, if you have a chance please let me know.
My problem is regading progressMonitor.
thank you.
Ravi
 
Frank Hale
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post the code please to your problem?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!