• Post Reply Bookmark Topic Watch Topic
  • New Topic

The "Next" is not working  RSS feed

 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please have a look at the following set of codes.

JustTest.java



JustTestSQL.java



when I click the "Next" button, it just shows the result for once, then nothing! Which means then it is not navigating forward!! Anyway if I remove the buttonStatus() methods from JustTest.java file, everything is working fine!! What is the problem here? Please help
 
Paul Clapham
Sheriff
Posts: 22375
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your problem is at line 97 of the JustTest class.
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply Paul. I edited that, but still no good

This is what I did.

 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems like it is locking the rs.next() method. Why is this? Why it is working after removing that buttonStatus() method???
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!