views:

666

answers:

1

In netbeans it is possible to add a canvas to your app, however it does not seem possible to draw on the canvas because you need to overload the paint(Graphics) method. What is the best way to do this? Thanks!

+1  A: 

You just write a class that extends Canvas / JCanvas then drop it onto the GUI designer from the navigator pane.

Greg Wright