Bookmark Topic Watch Topic
  • New Topic

I am asking regarding Imageicon at root node(level-0) of the Jtree.

 
Guddu Dagar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
how i will set the Imageicon on to the root node(level-0) of the Jtree.
Please help me out.

Please give me the proper code how i set the imageicon on the root node.






Thanks & Regards
Arun
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Arun,

This is more of a Swing question rather than a Thread question, you should Choose Your Forum Carefully when posting in order to get the best replies. The Swing Forum would have been a better place to post to (perhaps this thread will be moved there).

Also, Java Ranch is not a Code Mill. We won't write the code for you, but if you Show Some Effort and Ask Specific Questions we can definitely help you.

So what have you tried? What didn't work with it?
 
Henry Wong
author
Sheriff
Posts: 22542
109
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Yeah... Topic is in the wrong place. And has too many issues to move (even probably having screen name issues, but I won't challenge it). It's probably best if the OP read Steve's post and submit a new topic (based on his advice).

Henry
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!