不知道你怎么调用的这个类。
在ButtonFrame方法里加个setVisible(true);试试。
再不行在class里加个main方法
public static void main(String[] args) {
new ButtonFrame();
}
我在本地实验没有问题。
在ButtonFrame方法里加个setVisible(true);试试。
再不行在class里加个main方法
public static void main(String[] args) {
new ButtonFrame();
}
我在本地实验没有问题。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货