package lesson3; import java.awt.*; public class TestPaint { public static void main(String[] args) { new MyPaint().loadFrame(); } } class MyPaint extends Frame{ //写一个方法来实现这个框 public void loadFrame(){ setBounds(200,200,600,400); setVisible(true); } ...