corejava第7版

This commit is contained in:
deyou committed 2019-05-22 20:05:29 +08:00
1 parent e89542a214
commit fa8d1a5860
493 files changed
+105995

No files matched your search

@@ -0,0 +1,24 @@
/**
@version 1.22 2004-05-11
@author Cay Horstmann
*/
import java.awt.*;
import javax.swing.*;
public class BuggyButtonFrame extends JFrame
{
public BuggyButtonFrame()
{
setTitle("BuggyButtonTest");
setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT);
// add panel to frame
BuggyButtonPanel panel = new BuggyButtonPanel();
add(panel);
}
public static final int DEFAULT_WIDTH = 300;
public static final int DEFAULT_HEIGHT = 200;
}