Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    17
    Views
    1,213

    Re: Need help on my code

    Glad you got it to work.
  2. Replies
    17
    Views
    1,213

    Re: Need help on my code

    Can the setText() method WHEN you want to change the contents of a textfield.

    If you are confused about when a section of code is executed, add println calls to the different sections and have...
  3. Replies
    17
    Views
    1,213

    Re: Need help on my code

    Do you have the source in an editor with a Find function?
    In the editor: Open the Find function and typing in: setTexT
    If Find works, it should position the editor to a line with setText

    If...
  4. Replies
    17
    Views
    1,213

    Re: Need help on my code

    Two ways:
    delete all the lines that call the setText() method
    Put the calls to the setText() method inside a comment block: /* ... */
  5. Replies
    17
    Views
    1,213

    Re: Need help on my code

    Then don't call the setText() methods with Strings until you want data put in the textfields.

    When the "GO" button is pressed, then in the listener method call setText() to put the values in the...
  6. Replies
    17
    Views
    1,213

    Re: Need help on my code

    Sorry, I don't know what you are trying to fix. Can you explain what you see when the code executes and what you want to change?
    What do you want the program to display?
    What do you want the...
  7. Replies
    17
    Views
    1,213

    Re: Need help on my code

    If you preload a textfield with a String and then call the textfield's getText() method, you will get back what you put into it. If you put "%d" in the textfield that is what you will read back...
  8. Replies
    17
    Views
    1,213

    Re: Need help on my code

    Please edit your post and wrap your code with


    <YOUR CODE HERE>

    to get highlighting and preserve formatting.


    Where is that String displayed? I see lots of textfields that are loaded...
  9. Replies
    17
    Views
    1,213

    Re: Need help on my code

    Please edit your post and wrap the code in code tags to preserve formatting and make it easier to read.


    Can you explain what happens? I don't understand what you are trying to say.
Results 1 to 9 of 9