Search:

Type: Posts; User: curmudgeon

Search: Search took 0.20 seconds.

  1. Replies
    15
    Views
    1,332

    Re: Swing (Problems)

    You call the method on the JTextField itself. To learn how to use JTextFields, please check the tutorials, Using JTextFields and the JTextField API
  2. Replies
    15
    Views
    1,332

    Re: Swing (Problems)

    Yep, as I thought, that's the toString() returned from your JTextField variable which is certainly not what you want. Get the JTextField's text instead by calling getText() on it.

    Also, did your...
  3. Replies
    15
    Views
    1,332

    Re: Swing (Problems)

    Please see the edit to my post above.

    So TheirAnswer is the JTextField itself? then String.valueOf(TheirAnswer) doesn't make much sense since this will return the toString() value of the...
  4. Replies
    15
    Views
    1,332

    Re: Swing (Problems)

    What does TheirAnswer represent?

    And again, have you added some debug code to your program? Something like:



    private void NameCheckerActionPerformed(java.awt.event.ActionEvent evt) { ...
  5. Replies
    15
    Views
    1,332

    Re: Swing (Problems)

    Sorry if I'm dragging this out, but I'm still a bit unclear. First off, what is a textbox? I don't know of a Swing component with this name. Do you mean JTextField? If so, please let us know and also...
  6. Replies
    15
    Views
    1,332

    Re: Swing (Problems)

    Please do go on... How does the user enter the String? What does the user do to tell the GUI to move the String? Where is the String initially? Where is supposed to be moved? Where exactly are you...
  7. Replies
    15
    Views
    1,332

    Re: Swing (Problems)

    ??
    Can you give us more information? Please assume that we have no idea to start with what you're trying to accomplish with your program or what it might currently be doing wrong. We're dependent on...
Results 1 to 7 of 7