1. how to apply actionperformed to Jtextfields in java? stackoverflow.comi am buiding a small jframe with 2 lables and 2 textfields(Jtextfield1,Jtextfield2) and a jbutton .i want that when the user enters some data in the Jtextfield1,the data is retrieved from database ... |
2. Insert VALUE from JTEXTFIELD to DATABASE coderanch.com |
4. Using jbutton to write to jtextfield values to database java-forums.orgHi, 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: Java Code: import java.awt.*; import java.sql.*; import javax.swing.*; class ... |