Click here to Skip to main content
15,902,787 members
Home / Discussions / Java
   

Java

 
QuestionHow to capture image writing Java code Pin
Ravindra Thakare16-Jun-11 21:18
Ravindra Thakare16-Jun-11 21:18 
AnswerRe: How to capture image writing Java code Pin
Nagy Vilmos16-Jun-11 22:16
professionalNagy Vilmos16-Jun-11 22:16 
QuestionDatabase question Pin
TheMrProgrammer16-Jun-11 7:01
TheMrProgrammer16-Jun-11 7:01 
AnswerRe: Database question Pin
Nagy Vilmos16-Jun-11 22:15
professionalNagy Vilmos16-Jun-11 22:15 
GeneralRe: Database question Pin
jschell17-Jun-11 12:07
jschell17-Jun-11 12:07 
GeneralRe: Database question Pin
Nagy Vilmos17-Jun-11 20:02
professionalNagy Vilmos17-Jun-11 20:02 
GeneralRe: Database question Pin
jschell20-Jun-11 8:06
jschell20-Jun-11 8:06 
AnswerRe: Database question Pin
jschell17-Jun-11 12:12
jschell17-Jun-11 12:12 
There are two parts.
1. Database code
2. Gui code.

It seems apparent that you are in fact getting 10 rows from the database. Your statements about the commented rs.next() and your implicit comments about it.

If you are not sure the verify it using a debugger or System.out.println (do NOT use gui code.)

Consequently that means the problem is with your GUI code and not the database code.

You can replace your database code entirely with a for/next loop that adds 10 fixed values (such as "xxx") to the combo box. Until that code works it is pointless to attempt to do anything with the database code.

Creating a small complete example with JUST the gui code (no database code) might help to determine what the problem is.
QuestionJCombobox multi comlumn in java desktop Pin
Vuthh15-Jun-11 17:01
Vuthh15-Jun-11 17:01 
AnswerRe: JCombobox multi comlumn in java desktop Pin
Peter_in_278015-Jun-11 17:54
professionalPeter_in_278015-Jun-11 17:54 
AnswerRe: JCombobox multi comlumn in java desktop Pin
Nagy Vilmos15-Jun-11 23:29
professionalNagy Vilmos15-Jun-11 23:29 
QuestionJar extraction errors [modified] Pin
Liam S. Crouch14-Jun-11 3:02
Liam S. Crouch14-Jun-11 3:02 
AnswerRe: Jar extraction errors Pin
Nagy Vilmos14-Jun-11 3:15
professionalNagy Vilmos14-Jun-11 3:15 
GeneralRe: Jar extraction errors Pin
Liam S. Crouch14-Jun-11 3:18
Liam S. Crouch14-Jun-11 3:18 
AnswerRe: Jar extraction errors Pin
Nagy Vilmos14-Jun-11 3:23
professionalNagy Vilmos14-Jun-11 3:23 
GeneralRe: Jar extraction errors Pin
Liam S. Crouch14-Jun-11 3:25
Liam S. Crouch14-Jun-11 3:25 
AnswerRe: Jar extraction errors Pin
Nagy Vilmos14-Jun-11 3:30
professionalNagy Vilmos14-Jun-11 3:30 
GeneralRe: Jar extraction errors Pin
Liam S. Crouch14-Jun-11 3:56
Liam S. Crouch14-Jun-11 3:56 
GeneralRe: Jar extraction errors Pin
Nagy Vilmos14-Jun-11 4:03
professionalNagy Vilmos14-Jun-11 4:03 
GeneralRe: Jar extraction errors Pin
Liam S. Crouch14-Jun-11 4:04
Liam S. Crouch14-Jun-11 4:04 
GeneralRe: Jar extraction errors Pin
Nagy Vilmos14-Jun-11 4:13
professionalNagy Vilmos14-Jun-11 4:13 
GeneralRe: Jar extraction errors Pin
Liam S. Crouch14-Jun-11 4:34
Liam S. Crouch14-Jun-11 4:34 
GeneralRe: Jar extraction errors Pin
Nagy Vilmos14-Jun-11 4:38
professionalNagy Vilmos14-Jun-11 4:38 
GeneralRe: Jar extraction errors Pin
Nagy Vilmos14-Jun-11 4:44
professionalNagy Vilmos14-Jun-11 4:44 
GeneralRe: Jar extraction errors Pin
Liam S. Crouch14-Jun-11 5:06
Liam S. Crouch14-Jun-11 5:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.