Hi everyone,
I read the info on: http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/text/MaskFormatter.html, about masking a textfield. Unfortunately i didn't plan to mask the textfields beforehand so i created the textfields as such; The last 2 textfields(fields[3]and fields[4]) will have...
hi everyone,
I'm trying to delete a row with a certain IDnumber names 'IDtoDelete'. My delete part seems not to work;
is something missing?(IDtoDelete is read from a textfield as a string);
public void DeleteFrom(String IDtoDelete) {
try {
deleteStmt = con.prepareStatement(...
Hi everyone,
i tried to do 2 operations on a database table; insert and delete. There are several textfields requesting name, lastname etc. When these fields are filled, it should insert the data to the appropriate columns of a row in the table. Delete should delete the current row elements in...
Im really sorry to bother you guys with these questions. I tried to make 2 textfields one on top of the other reading name and last name, (I tried to put labels defining each textfield but gave problem) with two buttons insert and delete at the bottom. This code puts all in one line...Why?thank...
Please help how i can add functionality to this...How can i make the buttons respond to mouse clicks. thanks for your time.i used gridbaglayout by the way.
package ui;
import func.*;
import java.awt.*;
import javax.swing.*;
public class CalcMainFrame
extends JFrame {
final static...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.