COMP2396
Loading...
Searching...
No Matches
MyDrawPanelTestDrive Class Reference

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

Definition at line 3 of file MyDrawPanelTestDrive.java.

Member Function Documentation

◆ main()

static void MyDrawPanelTestDrive.main ( String[] args)
inlinestatic

Definition at line 4 of file MyDrawPanelTestDrive.java.

4 {
5 JFrame frame = new JFrame();
6 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
7 MyDrawPanel drawPanel = new MyDrawPanel();
8 frame.add(drawPanel);
9 frame.setSize(300, 300);
10 frame.setVisible(true);
11 }

The documentation for this class was generated from the following file: