Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.11 seconds.

  1. Replies
    8
    Views
    1,708

    Re: Java applet programming problem

    This part is pretty interesting because the only way I know to do it would be by splitting the String. However the problem with that is we need to offset each letter. And if we are going to offset...
  2. Replies
    8
    Views
    1,708

    Re: Java applet programming problem

    The reason there is no text is because the default text in a JTextField is "".

    There is a little change I would suggest to keep your code consistent and a few changes.

    First, since you...
  3. Replies
    8
    Views
    1,708

    Re: Java applet programming problem

    You need to create a JTextField (JTextField (Java Platform SE 6)) and add it to the applet for the user to enter the text into. To create a simple JTextField (with 30 column length), use code like...
  4. Replies
    8
    Views
    1,708

    Re: Java applet programming problem

    What is text1? e.g: is it the entire String or just a single character?

    You have to set the color of the Graphics object BEFORE you draw the String. If text1 is just an individual character, do...
Results 1 to 4 of 4