I cannot get this oval to draw on the JFrame.
static JFrame frame = new JFrame(\"New Frame\");
public static void main(String[] args) {
makeframe();
pain
Several items come to mind:
Also, you're not seeing the JLabel because the paint() method is responsible for drawing the component itself as well as child components. Overriding paint() is evil =)