Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~174 People Reached
Favorite Forums
Favorite Tags
java x 3
Member Avatar for Reverse_1

try{ String str = "select * from stocks"; stmt = conn.prepareStatement(str); ResultSet rs = stmt.executeQuery(); while(rs.next()) jcbStock.addItem(rs.getString("stockID")); }catch(Exception e){ e.printStackTrace(); } I have this code in other class , and i want call it in my main class. Anyone can tell me how to do?

Member Avatar for stultuske
0
174