//THE SOLUTION TO THE BLUE DOT PROBLEM
private void paintTheImage() {
SPainter klee = new SPainter("Blue Dot",600,600);
SCircle dot = new SCircle(200);
klee.setColor(Color.BLUE);
klee.paint(dot);
}
//Required infastructure
public BlueDot(){
paintTheImage();
}
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new BlueDot();
}
});
}
}