Database « JCheckBox « Java Swing Q&A





1. Checkboxes and MS Access DB    java-forums.org

Hello Everyone, I'm trying to get my program to display whether the Hockey game was won during Overtime or a Shootout. I'm having an issue (brainfart) on how to get the CheckBoxes to be enabled or disabled when accessing an Access DB. If you notice in my code these two lines are commented out: //shootoutCheckBox.setSelectedItem( data.getShootout() ); //overtimeCheckBox.setSelectedItem( data.getOvertime() ); These ...

2. storing jcheckbox value to database sqllite    java-forums.org

hi i'm trying to store a value from a jcheckbox to an sqllite database i have use the isselected option to save it, this works and the value is writen to the database. but i want also to go to the next and previouse record there for a use the isselected option with a database reader dbfile=new File("inforegistratie.db3"); db=SqlJetDb.open(dbfile, true); ISqlJetTable ...

3. Query Oracle database using JCheckBox getLabel()    forums.oracle.com

Hey guys. I'm not sure if this is the right place, so if it's not I greatly apologise! I just figured if it include Java code then it's appropriate. Anyway, just a query... I've got a Java application hooked up to an Oracle database. I was just wondering if it's possible to query a table in my database by using the ...