用Java实现周易算卦

 一、源代码

/**

 * 摇一卦:根据周易原理实现算卦

 *

 * @author YangYong

 *

 */

import java.awt.Font;

import java.awt.GridLayout;

import java.awt.Toolkit;

import java.awt.event.ActionEvent;

import java.awt.event.ActionListener;

import java.util.Random;

import javax.swing.JButton;

import javax.swing.JFrame;

import javax.swing.JLabel;

import javax.swing.JTextField;

 

public class Fortune_telling {

  private JFrame frame = null;

  private JLabel[] label = null;

  private JTextField[] text = null;

  private JButton[] button = null;

 

  public static void main(String[] args) {

     newFortune_telling().myHandler();

  }

 

  public Fortune_telling() {

     frame =

你可能感兴趣的:(Java,java,周易)