7个Java小游戏源代码
import java.awt.*; import java.awt.geom.*; import java.awt.event.*; import java.util.*; import javax.swing.*; public class MouseTest2 { public static void main(String[] args) { TheFrame frame = new TheFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //setDefaultCloseOperation