Jumat, 04 November 2011

Contoh Program Expert Sysytem

Program Analisa Penyakit


import javax.swing.ButtonGroup;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JScrollPane;
import javax.swing.JTextField;
import javax.swing.JTextArea;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.Desktop;
import javax.swing.*;
import java.io.*;
import java.util.*;
import java.awt.Desktop;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.URI;
import java.awt.event.MouseEvent;
import javax.swing.JOptionPane;
public class analisa_penyakit extends javax.swing.JFrame{
JTextArea fpertanyaan = new JTextArea();
JTextArea fsolusi = new JTextArea();
JLabel fimage = new JLabel ("");
JLabel fimage1 = new JLabel ("");
JLabel fimage2 = new JLabel ("");
JLabel fimage3 = new JLabel ("");
JLabel fimage4 = new JLabel ("");
JLabel fimage5 = new JLabel ("");
JLabel text = new JLabel ("RS MITRA KELUARGA");
JLabel layanan = new JLabel ("Layanan Konsultasi Gratis");
JLabel oleh = new JLabel ("Oleh : Prof. DR. Kholid Abdullah, AMD");
JLabel pertanyaan = new JLabel ("Pertanyaan :");
JLabel tekanbaru = new JLabel ("");
JLabel tekanbaru1 = new JLabel ("");
JLabel email = new JLabel ("email & web :");
JLabel femail = new JLabel ("kholid21bsg@gmail.com");
JLabel fweb = new JLabel ("http://kholid21.blogspot.com");
JLabel solusi = new JLabel ("Solusi :");
ImageIcon image = new ImageIcon("D:\\PHOTO'S\\Icon-Icon\\ICON HPPM\\images6.jpg");
ImageIcon image2 = new ImageIcon("D:\\PHOTO'S\\Icon-Icon\\ICON HPPM\\P6110074.jpg");
ImageIcon image3 = new ImageIcon("D:\\PHOTO'S\\Icon-Icon\\ICON HPPM\\MIXIC101.GIF");
ImageIcon image4 = new ImageIcon("D:\\PHOTO'S\\Icon-Icon\\ICON HPPM\\MIXIC101 - Copy.GIF");
ImageIcon image5 = new ImageIcon("D:\\PHOTO'S\\Icon-Icon\\ICON HPPM\\index1.jpg");
ImageIcon clr1 = new ImageIcon("D:\\PHOTO'S\\Icon-Icon\\ICON HPPM\\1121.jpg");
ImageIcon save1 = new ImageIcon("D:\\PHOTO'S\\Icon-Icon\\ICON HPPM\\43241.jpg");
JRadioButton ya = new JRadioButton("");
JRadioButton tidak = new JRadioButton("");
JButton clr = new JButton ("");
JButton save = new JButton ("");
JLabel thanks = new JLabel ("Terima Kasih Atas Kunjungannya, Semoga Lekas Sembuh...");

//private void end() {
// TODO Auto-generated method stub
//}
public static void main(String[] args) {
JFrame tampil=new analisa_penyakit();
tampil.show();
}
}

Tidak ada komentar:

Posting Komentar

Silahkan poskan komentar anda, hatur nuhun sebelumnya .. :)