Search:

Type: Posts; User: javapenguin

Search: Search took 0.08 seconds.

  1. Replies
    14
    Views
    6,519

    Re: StringTokenizer error

    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...
  2. Replies
    14
    Views
    6,519

    Re: StringTokenizer error

    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...
  3. Replies
    14
    Views
    6,519

    Re: StringTokenizer error

    I kinda did, but not much. However, I cannot get an addDocumentListener() method for a JTextField or a JTextArea or even a JFrame.

    :confused:
  4. Replies
    14
    Views
    6,519

    Re: StringTokenizer error

    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...
  5. Replies
    14
    Views
    6,519

    Re: StringTokenizer error

    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...
Results 1 to 5 of 6