aspose file tools*
The moose likes JDBC and the fly likes The Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
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: 497

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: 18127
    
    8

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

Joined: Oct 07, 2010
Posts: 497

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: 497

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://aspose.com/file-tools
 
subject: The "Next" is not working
 
Similar Threads
java.net.SocketException: Error
Unable to save a file using JFileChooser
writing to text files
Java uses or overrides a deprecated API?
How to set paddings?