Search:

Type: Posts; User: helloworld922

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    2,776

    Re: Click to start and drawString fonts

    add this before you draw your text (of course, you can change what kind of font you want):


    Font font = new Font(Font.SERIF",Font.PLAIN,14);
    g.setFont(Font font);
  2. Replies
    3
    Views
    2,776

    Re: Click to start and drawString fonts

    For starting/stopping, override the start/stop methods, and there's a setFont method to change the font.
    ex:
    this.setFont(Font.getFont(Font.SERIF));

    Can you post your code so we can see what...
Results 1 to 2 of 2