aspose file tools
The moose likes JDBC and the fly likes The Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "The "Next" is not working" Watch "The "Next" is not working" New topic
Author

The "Next" is not working

Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 485

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


Are you better than me? Then please show me my mistakes..
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16487
    
    2

Your problem is at line 97 of the JustTest class.
Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 485

Thanks for the reply Paul. I edited that, but still no good

This is what I did.

Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 485

Seems like it is locking the rs.next() method. Why is this? Why it is working after removing that buttonStatus() method???
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: The "Next" is not working
 
Similar Threads
Unable to save a file using JFileChooser
Java uses or overrides a deprecated API?
java.net.SocketException: Error
writing to text files
How to set paddings?