JDBC « JComboBox « Java Swing Q&A





1. any idea about JComboBox Modal? with JDBC    coderanch.com

hi guys I am using JDBC to connect to database and it's relational database which tables are related. I have used combo box, list box and JTable but I have a problem with combo box. how do you retrieve and store data in a related table. I mean if you have primary key and foriegn keys with Dialog box. I used ...

2. Help using Jcombobox plsssss    java-forums.org

Is it possible to save the recently added items in the combo box even if i close the program? My combo box is empty when i run my program, and I only populate it within the program, but whenever i close the program and try to run it again, the items i added in the combo box are gone.. how to ...

3. problem in jComboBox    java-forums.org

4. Jcombobox + jdbc    java-forums.org

Java Code: Im trying to populate a Jcombobox with the data from a table and use that data to display related data fields into the TextFields : ---------------------------------------------------------------------- //Here i load the data into the Jcombobox it works perfect. plan_name ="select DISTINCT(plan_code),pln_bot_lvl, dim_code,PLN_MEM_TCDE,RW_MODE from usr_pln_rghts"; try { connection.statement = connection.connection.createStatement(); ResultSet r = connection.statement.executeQuery(plan_name); while(r.next()) { String plns = r.getString("plan_code"); planNameCmb.addItem(plns); ...