........
String naziv=textField.getText();
Class.forName("org.apache.derby.jdbc.ClientDriver");
Connection con=(Connection)DriverManager.getConnection("jdbc:derby://localhost:1527/proba;");
Statement st=con.createStatement();
st.executeUpdate("INSERT INTO T_PROBA (PRIHOD) VALUES ('"+ naziv +"')");
st.close();
con.close();
.......