Isi Sintak

:

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package projectrumahsakit;

/**
*

*/
public class menuUtama extends javax.swing.JFrame {

/**
* Creates new form menuUtama
*/
public menuUtama() {
initComponents();
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {

jLabel1 = new javax.swing.JLabel();
jMenuBar2 = new javax.swing.JMenuBar();
jMenu3 = new javax.swing.JMenu();
inputPasien = new javax.swing.JMenuItem();
inputDokter = new javax.swing.JMenuItem();
inputPerawat = new javax.swing.JMenuItem();
inputKlinik = new javax.swing.JMenuItem();
inputObat = new javax.swing.JMenuItem();
inputPenyakit = new javax.swing.JMenuItem();
inputTarif = new javax.swing.JMenuItem();
inputResep = new javax.swing.JMenuItem();
inputServis = new javax.swing.JMenuItem();
inputKunjung = new javax.swing.JMenuItem();
EXIT = new javax.swing.JMenuItem();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("RUMAH SAKIT APA AJA");

jLabel1.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/projectrumahsakit/rs.png"))); //
NOI18N

ActionListener() { public void actionPerformed(java.ActionEvent evt) { inputKlinikActionPerformed(evt).ActionEvent evt) { inputPerawatActionPerformed(evt).awt.awt.awt.ActionListener() { public void actionPerformed(java.event. } }). jMenu3.ActionEvent evt) { inputDokterActionPerformed(evt).event.awt. jMenu3.awt. } }). inputDokter.awt. .awt.addActionListener(new java.event.event. } }).awt. } }).add(inputPerawat).awt.awt.event. } }). inputKlinik.setText("INPUT PERAWAT").event. inputObat.event.event. jMenu3.event. inputPenyakit. jMenu3.event. jMenu3.awt. } }).awt.setText("Menu").ActionEvent evt) { inputPenyakitActionPerformed(evt).addActionListener(new java.add(inputPenyakit).addActionListener(new java.ActionListener() { public void actionPerformed(java.event.setText("INPUT PENYAKIT").setText("INPUT PASIEN").addActionListener(new java.ActionListener() { public void actionPerformed(java. inputObat. inputKlinik.addActionListener(new java.setText("INPUT DOKTER"). jMenu3. inputPasien.add(inputKlinik).ActionEvent evt) { inputObatActionPerformed(evt). inputPenyakit. inputPerawat.event. jMenu3.ActionListener() { public void actionPerformed(java.ActionListener() { public void actionPerformed(java. inputPasien.add(inputPasien).setText("INPUT OBAT").add(inputDokter).addActionListener(new java.add(inputObat).ActionEvent evt) { inputPasienActionPerformed(evt). inputPerawat.setText("INPUT KLINIK"). inputDokter.

event. jMenu3.addActionListener(new java.swing.ActionEvent evt) { EXITActionPerformed(evt).GroupLayout layout = new javax.ActionListener() { public void actionPerformed(java. jMenu3.createParallelGroup(javax.setText("INPUT SERVIS"). jMenuBar2. inputServis. 461. setJMenuBar(jMenuBar2).GroupLayout.ActionEvent evt) { inputKunjungActionPerformed(evt). jMenu3. inputResep.awt. EXIT. .Alignment. javax.add(inputKunjung).addGap(138. 138) .event.addGroup(layout. } }). inputKunjung.awt.event.event.awt.ActionEvent evt) { inputResepActionPerformed(evt).add(inputResep).ActionListener() { public void actionPerformed(java.addActionListener(new java.event.addActionListener(new java.setHorizontalGroup( layout.awt. inputKunjung. inputResep.GroupLayout. } }).awt.add(EXIT).add(jMenu3). 138. inputServis.ActionListener() { public void actionPerformed(java.GroupLayout(getContentPane()).createSequentialGroup() .addComponent(jLabel1.ActionEvent evt) { inputServisActionPerformed(evt).setText("EXIT").event. EXIT. javax. } }).awt.add(inputServis).swing. getContentPane().event. jMenu3.setLayout(layout).awt.swing.swing.ActionListener() { public void actionPerformed(java. } }). layout.setText("INPUT RESEP").addActionListener(new java.PREFERRED_SIZE.LEADING) .awt.setText("INPUT KUNJUNG").event.

ActionEvent evt) { inputPenyakit iPen = new inputPenyakit(). 30. } private void inputKlinikActionPerformed(java. } private void inputPenyakitActionPerformed(java.LEADING) .PREFERRED_SIZE) .awt. } private void inputPerawatActionPerformed(java.setVerticalGroup( layout.ActionEvent evt) { inputPasien ip = new inputPasien().awt.event.awt.awt.setVisible(true). } private void inputObatActionPerformed(java.setVisible(true).ActionEvent evt) { inputDokter iDok = new inputDokter().event.setVisible(true). pack(). layout.ActionEvent evt) { inputKlinik iKli = new inputKlinik().event.swing. javax.event.GroupLayout.Alignment.PREFERRED_SIZE. Short.setVisible(true). } private void inputDokterActionPerformed(java.ActionEvent evt) { inputPerawat iPer = new inputPerawat(). iPer. iPen. ip.createSequentialGroup() . iKli.swing. 30) .addGap(30. .ActionEvent evt) { inputObat iOba = new inputObat().createParallelGroup(javax.setVisible(true).GroupLayout. 282.addComponent(jLabel1.setVisible(true).GroupLayout.awt.swing.event.addGroup(layout. javax.event. iOba. }// </editor-fold> private void inputPasienActionPerformed(java. iDok.awt.addContainerGap(39.MAX_VALUE)) ).