Exercise Six
import java.awt.*; public class TestFrame { public static void main(String[] args) { Frame myFrame = new Frame(); myFrame.reshape(10,10,200,200); myFrame.setTitle("My Frame"); Panel myPanel = new Panel(); myFrame.add(myPanel); myFrame.show(); } } ![]() Table of Contents Layouts ![]() |
Hosted by Graphics & Media Lab
http://graphics.cs.msu.su |
![]() |
mailto: Laboratory |