It is usually better to not pass a result set around. it is kind of like a bookmark or a cursor, and has open handles or resources in the statement object, which in turn has open resources in the connection object.. So you should loop thru the results and populate an array. In situations where there are very very large number of results, I then do a row handler, such as implement some interface i design with an "handleRow" method (which might even pass in a result set object, as the understanding is the result set is only used for reading 1 row into a bean an doing something with it.)
First of all, is it not possible to send the resultset back to the JComboBox in the necessary array? Or do I have to create a seperate array variable, loop through the results adding each result into newly created array?