import java.awt.*;
import javax.swing.*;
g2d.drawOval(0, 0, getSize().width-1,
getSize().height-1);
}
public static void main
(String[] args
) { frame.getContentPane().add(new BasicDraw());
int frameWidth = 300;
int frameHeight = 300;
frame.setSize(frameWidth, frameHeight);
frame.setVisible(true);
}
}