COMP2396
Loading...
Searching...
No Matches
MyDrawPanel Class Reference
Inheritance diagram for MyDrawPanel:
Collaboration diagram for MyDrawPanel:

Public Member Functions

void paintComponent (Graphics g)
 

Detailed Description

Definition at line 4 of file MyDrawPanel.java.

Member Function Documentation

◆ paintComponent()

void MyDrawPanel.paintComponent ( Graphics g)
inline

Definition at line 5 of file MyDrawPanel.java.

5 {
6 g.setColor(Color.ORANGE);
7 g.fillRect(20, 50, 100, 70);
8 }

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