// 'import' statement - tell Java that we plan to use some of its // pre-existing classes in our program import java.awt.*; public class DrawingExample { public static void main(String[] args) { // declare and initialize a DrawingPanel object // width height DrawingPanel panel = new DrawingPanel(300, 200); // "constructing" an object /* = new ( ); */ // call a method on an object: // . ( ); // call a static method: // (