Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    13
    Views
    3,334

    Re: Help about Graphics

    Perhaps you should have named this thread: Need help using Netbeans.
    Your title says you want help using Grahpics.
  2. Replies
    13
    Views
    3,334

    Re: Help about Graphics

    Sorry, I don't know anything about using your IDE. I thought you were writing a java program, but I see its the IDE that is writing the program.
  3. Replies
    13
    Views
    3,334

    Re: Help about Graphics

    Do you know how to use an anonymous class? That's one of the easiest ways to override an method.


    Panel pnl = new Panel() {
    @Override
    public void paint(Graphics g) {
    // do your...
  4. Replies
    13
    Views
    3,334

    Re: Help about Graphics

    Override the paintComponent method for the panel and put your drawing code there.
Results 1 to 4 of 4