Search:

Type: Posts; User: mystikaljester

Search: Search took 0.09 seconds.

  1. Re: converting words to numbers like a phone. i.e. 1800CALLMEE = 1-800-225-5544

    Okay, I'll take a crack at the first part of your question.

    If it seems to be only displaying the very last character, I think that would be because each time you run through your for loop, you...
  2. Replies
    7
    Views
    4,383

    Re: JButton with 2D Graphics help

    Also of note for anyone else doing this as a homework assignment out of the book "Java Programming" (Fifth Edition) by Joyce Farrell (Page 757, problem 10):

    The above code works perfectly as soon...
  3. Replies
    7
    Views
    4,383

    Re: JButton with 2D Graphics help

    Text for the smile is set in the line just before the constructor and outside of any methods.

    private JButton mouth = new JButton("Smile");
    That should set the starting text as "Smile"

    And now...
  4. Replies
    7
    Views
    4,383

    [SOLVED] JButton with 2D Graphics help

    Hello, I'm having some issues getting a JButton to show on a frame where I have created some 2D graphics objects. Objective is to have the button change the smile displayed to a frown when the...
Results 1 to 4 of 4