我做了一個簡單的程式~圈圈叉叉
並在程式裡使用圈圈和叉叉的圖形
而且在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  可以看到全部內容
 可以看到全部內容