Graphics2D graphics; graphics.fillOval(x1,y1,x2,y2);
The .java program compiles with no errors.
However. when I try to run it I get a long list of exceptions when it comes to the above code,
Exception in thread "AWT-EventQueue-0" java.lang Null PointerException .... and much more.
Any help will be appreciated.