public class MyButton extends JButton { public void setVisible( boolean visible ) { // Rolling our own visibility }}
JButton myButton = new JButton() { public void setVisible( boolean visible ) { // Rolling our own visibility }};
posted on 2009-04-10 13:20 天天开源 阅读(94) 评论(0) 编辑 收藏
Powered by: BlogJava Copyright © 天天开源