• Post Reply Bookmark Topic Watch Topic
  • New Topic

1.4 , 1.3 problem  RSS feed

 
Tys Seyffert
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all, Ive got a program where i list all the directories in a machine's hard drives on the left in a jtree. and then depending on what directory you choose i display its files on the right. it works on a machine with 1.3 but doesnt show any files on a 1.4 machine. like it doesnt pick the files up.
can anyone point me in the right direction pls
 
Joe Ess
Bartender
Posts: 9426
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I heard a similar complaint a few months back, but I can't find the post. I think something got 'fixed' between JDK 1.3 and 1.4 and now some shortcut that updated the JTable automagically isn't there any more. I assure you that, used properly, JTree works fine. Check out some of the examples in the Java Tutorial: How to use Trees and make sure you are generating the correct events to inform the view of the updates you make to the model.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!