import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.KeyEvent;
import...
Type: Posts; User: javapenguin
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.KeyEvent;
import...
I don't see how this would work with a JTextField. Also, couldn't I just add Key Listeners?
Also, there is an addKeyListener() method for JTextField.
Also, couldn't I use...
I kinda did, but not much. However, I cannot get an addDocumentListener() method for a JTextField or a JTextArea or even a JFrame.
:confused:
Well, I was trying to answer the question of what might be causing the problem. Also, do you know what a Document Listener is? I need one to be able to get it to add a listener, or at least use the...
I'm wondering, can a does it have to be ClassName[] referenceVariable = new ClassName[3];
or can it be ClassName referenceVariable[] = new ClassName[3] ?
If it does have to do, then does it have...