File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable

 
Daniel Simpson
Ranch Hand
Posts: 181
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to apologize for this duplicate post but I have tried everything without success to get my JTable to work right. Has anyone else experienced difficulty with their JTable freezing? If you have time, here was my thread on it: http://www.coderanch.com/t/186605/java-developer-SCJD/certification/JTable-Freezes-Help
Again, I'm sorry to duplicate this post, but I need help. Thanks!
 
Dieskun Koper
Ranch Hand
Posts: 85
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Daniel,

I feel I don't have enough information to solve your problem. I'd probably have to see much more of your code or even run your program on my machine to figure it out.
But this is your assignment. Please try to figure out yourself where it is deadlocking (which line). Browse the web if you do not know how to debug your application.
I suppose adding a logger is one option, debug your application (step through it with your IDE), press Ctrl-Break (Windows) in the command prompt to see what your threads are waiting for.

Good luck,
Dies
 
Daniel Simpson
Ranch Hand
Posts: 181
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much for that Ctrl-Break tidbit. Here's what I got. I believe it has something to do with my lock-unlock code. Here's the quite lengthy output in the command prompt:

 
Daniel Simpson
Ranch Hand
Posts: 181
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes! Dieskun, I want to thank you for your help with that keyboard shortcut. It helped me figure it out! I placed my lock line in the wrong place and it was causing it to hang! Thank you so much! Problem solved. Now I can sleep!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic