• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using JTree in JTable  RSS feed

 
ghazanfar khan
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,
I am trying to use JTree inside JTable cell, here is the link to an article posted on sun web site, i downloaded its source code to see how does this works but it is not compiling can anyone please do me. That how we can use them together. here is the link JTable and JTree

Thanks in advance
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
after replacing all the
import com.sun.java.swing.*****
with
import javax.swing.*****
it compiled OK, and running TreeTableExample0, it ran OK
 
ghazanfar khan
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Michael
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!