Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
15Activity
0 of .
Results for:
No results containing your search query
P. 1
Sistem Pakar

Sistem Pakar

Ratings: (0)|Views: 536 |Likes:
Published by Eko Sugiharto
Sistem Pakar Untuk Mendiagnosa Kerusakan Komputer Menggunakan Java.
Status : Ready to use.
Sistem Pakar Untuk Mendiagnosa Kerusakan Komputer Menggunakan Java.
Status : Ready to use.

More info:

Published by: Eko Sugiharto on Apr 29, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

06/04/2013

pdf

text

original

 
TAMPILAN
FORM 
DAN
LISTING PROGRAM 
 
1. Form Pilihan Pengguna Sistempackage sistempakar;import java.awt.Dimension;import java.awt.Toolkit; /**** @author Nabila Zahra Yulia*/ public class formAwal extends javax.swing.JDialog { /** Creates new form formAwal */ public formAwal(java.awt.Frame parent, boolean modal) {super(parent, modal);initComponents();Dimension screenSize =Toolkit.getDefaultToolkit().getScreenSize();Dimension frameSize = this.getSize();if (frameSize.height > screenSize.height){frameSize.height = screenSize.height;}if (frameSize.width > screenSize.width){frameSize.width=screenSize.width;}this.setLocation((screenSize.width - frameSize.width) / 2,(screenSize.height - frameSize.height)/2);}private void btnPakarActionPerformed(java.awt.event.ActionEventevt) {new LoginForm(new javax.swing.JFrame(), true).setVisible(true);this.dispose();
 
}private voidbtnPenggunaActionPerformed(java.awt.event.ActionEvent evt) {frmPengguna pengguna = new frmPengguna();pengguna.setVisible(true);this.setVisible(false);}private void formWindowClosing(java.awt.event.WindowEvent evt) {System.exit(0);} /*** @param args the command line arguments*/ public static void main(String args[]) { java.awt.EventQueue.invokeLater(new Runnable() {public void run() {formAwal dialog = new formAwal(new javax.swing.JFrame(),true);dialog.addWindowListener(new java.awt.event.WindowAdapter() {public void windowClosing(java.awt.event.WindowEvente) {System.exit(0);}});dialog.setVisible(true);}});} // Variables declaration - do not modifyprivate javax.swing.JButton btnPakar;private javax.swing.JButton btnPengguna;private javax.swing.JLabel jLabel1; // End of variables declaration}
 
2. Form Login Pakarpackage sistempakar;import com.miftah.db.DBQuery;import com.miftah.db.DBTable;import java.awt.Dimension;import java.awt.Toolkit;import java.sql.SQLException;import javax.swing.JOptionPane; /**** @author Nabila Zahra Yulia*/ public class LoginForm extends javax.swing.JDialog { /** Creates new form LoginForm */ public LoginForm(java.awt.Frame parent, boolean modal) {super(parent, modal);initComponents();Dimension screenSize =Toolkit.getDefaultToolkit().getScreenSize();Dimension frameSize = this.getSize();if (frameSize.height > screenSize.height){frameSize.height = screenSize.height;}if (frameSize.width > screenSize.width){frameSize.width=screenSize.width;}this.setLocation((screenSize.width - frameSize.width) / 2,(screenSize.height - frameSize.height)/2);DBTable db = new DBTable();db.setTableName("admin");

Activity (15)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Muhammad Rizal liked this
Aris Saputra liked this
Nasria Gani liked this
Rycho Thampaty liked this
Ben Angelo liked this
Ben Angelo liked this
Ben Angelo liked this
Ben Angelo liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->