当前位置: 技术问答>java相关
大家进来看看我这段代码,怎么在jb上编译不了呢,
来源: 互联网 发布时间:2015-09-21
本文导语: package Icons; import javax.swing.*; public class Icons extends JFrame{ public Icons() { super ("aaa"); setSize(300,318); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel pane = new JPanel(); ImageIcon icon = new Ima...
package Icons;
import javax.swing.*;
public class Icons extends JFrame{
public Icons() {
super ("aaa");
setSize(300,318);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JPanel pane = new JPanel();
ImageIcon icon = new ImageIcon( "ZIP.ico" );
for(int i =0 ; i
import javax.swing.*;
public class Icons extends JFrame{
public Icons() {
super ("aaa");
setSize(300,318);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JPanel pane = new JPanel();
ImageIcon icon = new ImageIcon( "ZIP.ico" );
for(int i =0 ; i