package com.qdmmy6.cad;
import javax.swing.JFrame;
public class CADFrame extends JFrame {
public CADFrame() {
this.setSize(600, 400);
this.setLocation(200, 200);
this.getContentPane().add(new CadCanvas());
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
} |
|