1. problem adding a custom converter to a jtextField and db aware table forums.netbeans.orgLarry Arnold Posted via mailing list. Posted: Wed Nov 05, 2008 10:11 pm Post subject: problem adding a custom converter to a jtextField and db aware table I am trying to use a tutorial from netbeans.org ( http://www.netbeans.org/kb/61/java/gui-db-custom.html ) ... "Creating a Custom Java Desktop Database Application" as a guide to using a jtextfield to search through a ... |
2. Using jbutton to write to jtextfield values to database coderanch.comHi, i'm trying to write a GUI which can write text from a JTextfield to a MySQL database when the user clicks a jbutton. I'm having errors with the eventhandler code for the button, can anyone take a look at my code for me and explain to me what i'm doing wrong: import java.awt.*; import java.sql.*; import javax.swing.*; class ContractYearly{ public ... |
3. Getting from database, putting into jtextfield java-forums.orgpackage forms.ui.images.Entity; import java.sql.ResultSet; import java.util.ArrayList; import forms.ui.images.database.DBController; public class Souv { public int itemLeft; public Souv() { super(); Souv(int itemLeft) { super(); this.itemLeft = itemLeft; } public int getItemLeft() { return itemLeft; } public void setItemLeft(int itemLeft) { this.itemLeft = itemLeft; } public boolean retrieveSouvenirs(){ ResultSet rs = null; DBController db = new DBController(); db.setUp("Database"); String dbQuery = "SELECT * ... |