我做了一个简单的程式~圈圈叉叉
并在程式里使用圈圈和叉叉的图形
而且在Eclipse里RUN都OK
但是在我汇出成JAR档执行时点框框图形却出不来
请问任何一位JAVA高手我要怎么解决?
拜托帮忙解答~非常谢谢!!
已经汇出的JAR file
import java.awt.Color;
import java.awt.Container;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
public class TicTacToe extends JFrame implements ActionListener {
   private JButton a, b, c, d, e, f, g, h, i; 
   private int player;   
   public TicTacToe(){
     player = 1;     
     a = new JButton();
     b = new JButton();
     c = new JButton();
     d = new JButton();
     e = new JButton();
     f = new JButton();
     g = new JButton();
     h = new JButton();
     i = new JButton();     
     a.addActionListener(this);
     b.addActionListener(this);
     c.addActionListener(this);
     d.addActionListener(this);
     e.addActionListener(this);
     f.addActionListener(this);
     g.addActionListener(this);
     h.addActionListener(this);
     i.addActionListener(this);     
     a.setBackground(Color.WHITE);
     b.setBackground(Color.WHITE);
   ..
访客只能看到部份内容,免费 加入会员 或由脸书  Google  可以看到全部内容
 可以看到全部内容