APLIKASI PEMESANAN KAMAR HOTEL

   Puji serta syukur marilah kita panjatkan kepada kehadirat Allah SWT yang telah memberikan begitu banyak nikmat dan anugrah-Nya kepada kita yang mungkin tidak menyadari begitu banyak nikmat yang telah didapatkan dari Allah SWT. Selain itu, saya juga merasa sangat bersyukur karena telah mendapatkan hidayah-Nya baik iman maupun islam.
   Dengan nikmat dan hidayah-Nya pula kami dapat menyelesaikan penulisan laporan  ini yang merupakan tugas mata kuliah Pemograman Berorientasi Objek. 
    Kami menyadari dalam laporan ini masih begitu banyak kekurangan-kekurangan dan kesalahan-kesalahan baik dari isinya maupun struktur penulisannya, oleh karena itu kami sangat mengharapkan kritik dan saran positif untuk perbaikan dikemudian hari.
    Demikian semoga laporan ini memberikan manfaat umumnya pada para pembaca dan khususnya bagi penulis sendiri. Amin.
BAB I
PENDAHULUAN

1.1  Deskripsi Masalah 
Pendataan administrasi di perhotelan memerlukan ketepatan mekanisme dan penataan yang terorganisir agar dapat terkemas dan terjaga keamanannya dengan baik, seiring pesatnya teknologi dan kemudahan-kemudahan yang ditawarkan didalamnya, dalam pengolahan dara-data yang dulu diolah secera konfensional diubah kedalam pola komputerisasi yang mempermudah proses pengentrian dan pencarian data-data yang telah tersimpan dalam database.
Database tersebut dibuat dengan tujuan agar proses kerja lebih optimal dan  dapat dilakukan secara cepat dan tepat dengan tingkat kesalahan yang sedikit. Dalam mengelola data-data tersebut, pihak hotel tentu harus memiliki system pengolahan dan pengelolaan data yang baik dan teratur, yang nantinya berguna bagi kelancaran penyimpanan suatu data serta dapat memberikan keamanan terhadap data tersebut. Hal tersebut diatas dapat memberikan kemudahan bagi pemilik hotel untuk memberikan dan menyediakan pelayanan yang maksimal bagi para penginap/pengunjung
Hotel Bintang x sebagai salah satu hotel modern di kawasan Bandung, merupakan hotel yang sedang berkembang dan terus berupaya untuk meningkatkan layanan serta standar kualitas hotel dari berbagai sisi antara lain sisi pemanfaatan teknologi informasi
Selama ini, system sewa kamar atau check in yang ada di Hotel tersebut masih kurang efektif, dilakukan dengan cara melakukan pencatatan pada buku, terlambatnya untuk mencari kamar yang kosong dan belum dipesan, pembuatan laporan yang sering terlambat, dan perhitungan biaya check out yang lama, sehingga system tersebut perlu dibenahi. Beberapa system yang dinilai perlu dibenahi adalah system pemesanan sewa kamar, sistem check in dann check out serta pembuatan laporan. Sistem tersebut perlu dibenahi dengan sistem baru yang terkomputerisasi.
1.2 Rumusan Masalah
        Pada Hotel Bintang X sistem sewa kamar atau check in yang ada masih kurang efektif, dilakukan dengan cara melakukan pencatatan pada buku, terlambatnya untuk mencari kamar yang kosong dan belum dipesan, pembuatan laporan yang sering terlambat, dan perhitungan biaya check out yang lama. 

1.3 Batasan Masalah
Berdasarkan rumusan masalah di atas, maka akan dibuat sebuah aplikasi pemesanan kamar hotel terkomputerisasi agar lebih efektif dan efisien dan meminimalisir kesalahan dalam pendataan pemesanan.

1.4 Manfaat
1) Memberikan kemudahan pada staf bagian administrasi dalam melakukan proses data pelanggan yang check in, check out, dan pembuatan laporan
2) Memberikan kemudahan dalam penyimpanan data pelanggan dan transaksi

BAB II
LANDASAN TEORI

2.1 Pengertian Database
Database atau basis data adalah kumpulan data yang disimpan secara sistematis didalam komputer, dan dapat diperiksa menggunakan suatu program komputer untuk memperoleh informasi dari database tersebut.

2.2 MySQL
MySQL adalah DBMS yang didistribusikan secara gratis dibawah lisensi dari General Public License (GPL), dimana setiap orang bebas untuk menggunakannya tetapi tidak boleh untuk dijadikan program induk turunan bersifat close source (komersial).
MySQL sebenarnya merupakan turunan dari salah satu konsep utama dalam basis data sejak lama, yaitu SQL (Structured Query Language). SQL adalah sebuah konsep pengoperasian basis data terutama untuk proses seleksi, pemasukan, pengubahan dan penghapusan data yang dimungkinkan dapat dikerjakan dengan mudah dan otomatis. (Sutaji, 2012:40)

2.3 Data Dictionary
Data Dictionary (Kamus Data) adalah suatu daftar data elemen yang terorganisir dengan definisi yang tetap dan sesuai dengan sistem, sehingga user dan analis sistem mempunyai pengertian yang sama tentang input, output dan komponen data store.
Pembentukan kamus data didasarkan pada alur data yang terdapat pada DFD, Alur data pada DFD bersifat global (hanya menunjukkan nama alur datanya tanpa menunjukkan struktur dari alur data). Untuk menunjukkan struktur dari alur data secara rinci maka dibentuklah kamus data.

2.4 Hotel
Hotel adalah suatu jenis akomodasi yang menggunakan sebagian atau seluruh bangunan dengan menyediakan jasa penginapan, makanan minuman serta jasa penunjang lainnya bagi umum yang dikelola secara komersial
BAB III
PEMBAHASAN

3.1 Identifikasi Admin dari Sistem Informasi
Admin yang terdapat pada Aplikasi Sistem Pemesanan Kamar Hotel 1 admin bisa mengkases keseluruhan database dengan hak akses penuh.

3.2 Tool yang digunakan
 Untuk Bahasa Pemrograman yang digunakan menggunakan Dekstop Base Programming, yaitu dengan Java Netbeans.
 Dalam Program Netbeans tersebut, terdapat beberapa plugin untuk mendukung keselarasan dalam Pengelolaan Surat Masuk dan Surat Keluar tersebut. Penggunaan plugin tersebut diantaranya :
1). AbsoluteLayout            
2). commons-digester
3). groovy-all
4). mysql-connector-java-5.1.23-bin   
5). commons-beanutils
6). commons-logging
7). jasperreports
8). xmlbeans
9). commons-collections
10). commons-loggin
11). mysql-connector-java-5.1.22-bin 
12). jDateChooser

Untuk Database dari Program itu sendiri, menggunakan MySQL dengan bantuan XAMPP tentunya.

3.3 Fasilitas yang ada pada system
 Fasilitas yang terdapat pada Aplikasi Pemesanan Kamar Hotel, diantaranya:
a.kode koneksi SQL
 private void b_loginActionPerformed(java.awt.event.ActionEvent evt) {                                       
        if (!(c_user.getSelectedIndex() == 1 || c_user.getSelectedIndex() == 2)){
            JOptionPane.showMessageDialog(null, "Pemilihan User SALAH","Informasi", JOptionPane.INFORMATION_MESSAGE);
        }
        else if ("".equals(t_username.getText())){
            JOptionPane.showMessageDialog(null, "Kolom Username masih KOSONG","Informasi", JOptionPane.INFORMATION_MESSAGE);
        }
        else if ("".equals(t_password.getText())){
            JOptionPane.showMessageDialog(null, "Kolom Password masih KOSONG","Informasi", JOptionPane.INFORMATION_MESSAGE);
        }
        else {
            pemilihan_user();
        }
    }                                      
    private void t_passwordKeyTyped(java.awt.event.KeyEvent evt) {                                      
    }                                  
    private void t_passwordKeyPressed(java.awt.event.KeyEvent evt) {                                      
    }                                    
 
 
b. Form Login

 





Pada form Menu Utama  terdapat menu admin yaitu login.
kodenya:


b. Form Menu Admin








Pada menu Log In ini diharuskan mengisi username dan password untuk dapat masuk sebagai admin.
c.Form Kelola Admin











Menu admin mengelola data karyawan seperti pada tampilan berikut ada sub untuk menambahkan, edit, delete dan refres data karyawan tersebut, bisa  juga untuk mencari data karyawan juga.
 d.Form Data Kamar
















            Admin juga mengelola data kamar seperti berikut sudah terisi table kamar yang ada pada hotel tersebut ada sub tambah, edit, delete, refres dan cari.
 e.Form Data Tamu

 


























Pada Form data tamu ini terdapat data-data tamu dan juga terdapat form cek in dan cek out di mana form ini bisa mengatur data tamu yang berhasil cek in dan cek out di hotel tersebut.
3.4 Laporan i-report














         Ini adalah laporan jasper nya dimana kita isikan pada form laporan tamu maka kita coba run lalu akan ada tampilan seperti di atas dan kita isi dengan tanggal 10 pada data tamu yang sudah ada lalu kita cetak data tersebut maka akan muncul tampilan seperti pada gambar kedua . Dan laporan tersebut sangat bermanfaat bagi Hotel untuk mengetahui data yng masuk pada tanggal tanggal tertentu.
3.project dan kode(coding)
















Tampilan project yang di buat di netbeans.

Kode keseluruhan membuat projek "APLIKASI PEMESANAN KAMAR HOTEL":


package Form;

//import com.sun.glass.events.MouseEvent;
import com.sun.java.swing.plaf.windows.resources.windows;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import java.util.Date;
import javax.swing.JOptionPane;
import javax.swing.Timer;
import javax.swing.table.DefaultTableModel;


public class f_utama extends javax.swing.JFrame {

   Connection conn = new koneksi_mysql().getConnection();
  
    public f_utama() {
        initComponents();
        Tanggal_sekarang();
        jamDigital();
        tampil_karyawan();
        tampil_kamar();
        tampil_Tamu();
    }
   
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
    private void initComponents() {

        jPanel3 = new javax.swing.JPanel();
        jPanel10 = new javax.swing.JPanel();
        jLabel8 = new javax.swing.JLabel();
        l_tanggal = new javax.swing.JLabel();
        l_jam = new javax.swing.JLabel();
        l_id_admin = new javax.swing.JLabel();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        panel_karyawan = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        tbl_karyawan = new javax.swing.JTable();
        b_tambah_karyawan = new javax.swing.JButton();
        b_edit_karyawan = new javax.swing.JButton();
        b_delete_karyawan = new javax.swing.JButton();
        b_cari_karyawan = new javax.swing.JButton();
        t_cari_karyawan = new javax.swing.JTextField();
        jPanel4 = new javax.swing.JPanel();
        jLabel3 = new javax.swing.JLabel();
        b_refersh_karyawan = new javax.swing.JButton();
        panel_tamu = new javax.swing.JPanel();
        b_refersh_tamu = new javax.swing.JButton();
        jScrollPane4 = new javax.swing.JScrollPane();
        tbl_tamu = new javax.swing.JTable();
        b_tambah_tamu = new javax.swing.JButton();
        b_cekout = new javax.swing.JButton();
        b_history = new javax.swing.JButton();
        b_cari_kamar2 = new javax.swing.JButton();
        t_cari_tamu = new javax.swing.JTextField();
        jPanel8 = new javax.swing.JPanel();
        jLabel6 = new javax.swing.JLabel();
        panel_kamar = new javax.swing.JPanel();
        b_refersh_kamar = new javax.swing.JButton();
        jScrollPane2 = new javax.swing.JScrollPane();
        tbl_kamar = new javax.swing.JTable();
        b_tambah_kamar = new javax.swing.JButton();
        b_edit_kamar = new javax.swing.JButton();
        b_delete_kamar = new javax.swing.JButton();
        b_cari_kamar = new javax.swing.JButton();
        t_cari_kamar = new javax.swing.JTextField();
        jPanel6 = new javax.swing.JPanel();
        jLabel4 = new javax.swing.JLabel();
        b_logout = new javax.swing.JButton();
        l_admin = new javax.swing.JLabel();
        l_id_admin1 = new javax.swing.JLabel();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        menu_laporan = new javax.swing.JMenuItem();
        menu_logout = new javax.swing.JMenuItem();
        menu_keluar = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        menu_passwoord = new javax.swing.JMenuItem();
        menu_info = new javax.swing.JMenu();
        menu_info_aplikasi = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jPanel3.setBackground(new java.awt.Color(0, 0, 0));

        jPanel10.setBackground(new java.awt.Color(0, 0, 0));

        jLabel8.setBackground(new java.awt.Color(0, 0, 0));
        jLabel8.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N
        jLabel8.setForeground(new java.awt.Color(255, 255, 255));
        jLabel8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/business_usersa.png"))); // NOI18N
        jLabel8.setText("SISTEM PEMESANAN KAMAR HOTEL");

        l_tanggal.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        l_tanggal.setForeground(new java.awt.Color(255, 255, 255));
        l_tanggal.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        l_tanggal.setText("Tanggal");

        l_jam.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        l_jam.setForeground(new java.awt.Color(255, 255, 255));
        l_jam.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        l_jam.setText("Jam");

        javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10);
        jPanel10.setLayout(jPanel10Layout);
        jPanel10Layout.setHorizontalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 582, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(l_jam, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(l_tanggal, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        jPanel10Layout.setVerticalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel10Layout.createSequentialGroup()
                .addGap(21, 21, 21)
                .addComponent(l_jam)
                .addGap(18, 18, 18)
                .addComponent(l_tanggal)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        l_id_admin.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        l_id_admin.setForeground(new java.awt.Color(255, 255, 255));
        l_id_admin.setText("Admin");

        panel_karyawan.setBackground(new java.awt.Color(0, 0, 0));

        tbl_karyawan.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {

            }
        ));
        jScrollPane1.setViewportView(tbl_karyawan);

        b_tambah_karyawan.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_tambah_karyawan.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/add.png"))); // NOI18N
        b_tambah_karyawan.setText("Tambah");
        b_tambah_karyawan.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_tambah_karyawan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_tambah_karyawanActionPerformed(evt);
            }
        });

        b_edit_karyawan.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_edit_karyawan.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/ruler_pencil.png"))); // NOI18N
        b_edit_karyawan.setText("Edit");
        b_edit_karyawan.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_edit_karyawan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_edit_karyawanActionPerformed(evt);
            }
        });

        b_delete_karyawan.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_delete_karyawan.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/delete.png"))); // NOI18N
        b_delete_karyawan.setText("Delete");
        b_delete_karyawan.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_delete_karyawan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_delete_karyawanActionPerformed(evt);
            }
        });

        b_cari_karyawan.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_cari_karyawan.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/search 24x24.png"))); // NOI18N
        b_cari_karyawan.setText("Cari");
        b_cari_karyawan.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_cari_karyawan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_cari_karyawanActionPerformed(evt);
            }
        });

        t_cari_karyawan.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        t_cari_karyawan.setToolTipText("Ketikkan yang akan dicari DISINI");
        t_cari_karyawan.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                t_cari_karyawanKeyTyped(evt);
            }
        });

        jPanel4.setBackground(new java.awt.Color(0, 0, 0));

        jLabel3.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLabel3.setForeground(new java.awt.Color(255, 255, 255));
        jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        jLabel3.setText("Data Karyawan");

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel4Layout.createSequentialGroup()
                .addGap(297, 297, 297)
                .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, 306, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.TRAILING)
        );

        b_refersh_karyawan.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_refersh_karyawan.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/refresh.png"))); // NOI18N
        b_refersh_karyawan.setText("Refresh");
        b_refersh_karyawan.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_refersh_karyawan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_refersh_karyawanActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panel_karyawanLayout = new javax.swing.GroupLayout(panel_karyawan);
        panel_karyawan.setLayout(panel_karyawanLayout);
        panel_karyawanLayout.setHorizontalGroup(
            panel_karyawanLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panel_karyawanLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panel_karyawanLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panel_karyawanLayout.createSequentialGroup()
                        .addComponent(b_cari_karyawan)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(t_cari_karyawan, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addGroup(panel_karyawanLayout.createSequentialGroup()
                        .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGap(18, 18, 18)
                        .addComponent(b_refersh_karyawan, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(4, 4, 4))
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 750, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panel_karyawanLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panel_karyawanLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(b_delete_karyawan, javax.swing.GroupLayout.DEFAULT_SIZE, 119, Short.MAX_VALUE)
                        .addComponent(b_edit_karyawan, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addComponent(b_tambah_karyawan, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap())
        );
        panel_karyawanLayout.setVerticalGroup(
            panel_karyawanLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panel_karyawanLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panel_karyawanLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(b_refersh_karyawan, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panel_karyawanLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panel_karyawanLayout.createSequentialGroup()
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(panel_karyawanLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(b_cari_karyawan, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(t_cari_karyawan, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(panel_karyawanLayout.createSequentialGroup()
                        .addGap(50, 50, 50)
                        .addComponent(b_tambah_karyawan)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(b_edit_karyawan)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(b_delete_karyawan)
                        .addGap(0, 82, Short.MAX_VALUE)))
                .addContainerGap())
        );

        jTabbedPane1.addTab("Karyawan", panel_karyawan);

        panel_tamu.setBackground(new java.awt.Color(0, 0, 0));

        b_refersh_tamu.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_refersh_tamu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/refresh.png"))); // NOI18N
        b_refersh_tamu.setText("Refresh");
        b_refersh_tamu.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_refersh_tamu.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_refersh_tamuActionPerformed(evt);
            }
        });

        tbl_tamu.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {

            }
        ));
        jScrollPane4.setViewportView(tbl_tamu);

        b_tambah_tamu.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_tambah_tamu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/add_image.png"))); // NOI18N
        b_tambah_tamu.setText("Cek In");
        b_tambah_tamu.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_tambah_tamu.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_tambah_tamuActionPerformed(evt);
            }
        });

        b_cekout.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_cekout.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/delete_image.png"))); // NOI18N
        b_cekout.setText("Cek Out");
        b_cekout.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_cekout.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_cekoutActionPerformed(evt);
            }
        });

        b_history.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_history.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/pin.png"))); // NOI18N
        b_history.setText("History");
        b_history.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_history.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_historyActionPerformed(evt);
            }
        });

        b_cari_kamar2.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_cari_kamar2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/search 24x24.png"))); // NOI18N
        b_cari_kamar2.setText("Cari");
        b_cari_kamar2.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_cari_kamar2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_cari_kamar2ActionPerformed(evt);
            }
        });

        t_cari_tamu.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        t_cari_tamu.setToolTipText("Ketikkan yang akan dicari DISINI");
        t_cari_tamu.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                t_cari_tamuKeyTyped(evt);
            }
        });

        jPanel8.setBackground(new java.awt.Color(0, 0, 0));

        jLabel6.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLabel6.setForeground(new java.awt.Color(255, 255, 255));
        jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        jLabel6.setText("Data Tamu");

        javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
        jPanel8.setLayout(jPanel8Layout);
        jPanel8Layout.setHorizontalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel8Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel8Layout.setVerticalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel6, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 39, Short.MAX_VALUE)
        );

        javax.swing.GroupLayout panel_tamuLayout = new javax.swing.GroupLayout(panel_tamu);
        panel_tamu.setLayout(panel_tamuLayout);
        panel_tamuLayout.setHorizontalGroup(
            panel_tamuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panel_tamuLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panel_tamuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panel_tamuLayout.createSequentialGroup()
                        .addComponent(b_cari_kamar2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(t_cari_tamu, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addGroup(panel_tamuLayout.createSequentialGroup()
                        .addComponent(jPanel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(b_refersh_tamu, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jScrollPane4, javax.swing.GroupLayout.DEFAULT_SIZE, 750, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panel_tamuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(b_tambah_tamu, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(b_history, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(b_cekout, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        panel_tamuLayout.setVerticalGroup(
            panel_tamuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panel_tamuLayout.createSequentialGroup()
                .addGroup(panel_tamuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panel_tamuLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(b_refersh_tamu, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panel_tamuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panel_tamuLayout.createSequentialGroup()
                        .addComponent(b_tambah_tamu)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(b_cekout)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(b_history)
                        .addGap(0, 103, Short.MAX_VALUE))
                    .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panel_tamuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(b_cari_kamar2, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(t_cari_tamu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        jTabbedPane1.addTab("Tamu", panel_tamu);

        panel_kamar.setBackground(new java.awt.Color(0, 0, 0));

        b_refersh_kamar.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_refersh_kamar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/refresh.png"))); // NOI18N
        b_refersh_kamar.setText("Refresh");
        b_refersh_kamar.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_refersh_kamar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_refersh_kamarActionPerformed(evt);
            }
        });

        tbl_kamar.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {

            }
        ));
        jScrollPane2.setViewportView(tbl_kamar);

        b_tambah_kamar.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_tambah_kamar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/add.png"))); // NOI18N
        b_tambah_kamar.setText("Tambah");
        b_tambah_kamar.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_tambah_kamar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_tambah_kamarActionPerformed(evt);
            }
        });

        b_edit_kamar.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_edit_kamar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/ruler_pencil.png"))); // NOI18N
        b_edit_kamar.setText("Edit");
        b_edit_kamar.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_edit_kamar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_edit_kamarActionPerformed(evt);
            }
        });

        b_delete_kamar.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_delete_kamar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/delete.png"))); // NOI18N
        b_delete_kamar.setText("Delete");
        b_delete_kamar.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_delete_kamar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_delete_kamarActionPerformed(evt);
            }
        });

        b_cari_kamar.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        b_cari_kamar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/search 24x24.png"))); // NOI18N
        b_cari_kamar.setText("Cari");
        b_cari_kamar.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_cari_kamar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_cari_kamarActionPerformed(evt);
            }
        });

        t_cari_kamar.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        t_cari_kamar.setToolTipText("Ketikkan yang akan dicari DISINI");
        t_cari_kamar.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                t_cari_kamarKeyTyped(evt);
            }
        });

        jPanel6.setBackground(new java.awt.Color(0, 0, 0));

        jLabel4.setBackground(new java.awt.Color(0, 0, 0));
        jLabel4.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLabel4.setForeground(new java.awt.Color(255, 255, 255));
        jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        jLabel4.setText("Data Kamar");

        javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
        jPanel6.setLayout(jPanel6Layout);
        jPanel6Layout.setHorizontalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel6Layout.setVerticalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        javax.swing.GroupLayout panel_kamarLayout = new javax.swing.GroupLayout(panel_kamar);
        panel_kamar.setLayout(panel_kamarLayout);
        panel_kamarLayout.setHorizontalGroup(
            panel_kamarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panel_kamarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panel_kamarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panel_kamarLayout.createSequentialGroup()
                        .addComponent(b_cari_kamar)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(t_cari_kamar, javax.swing.GroupLayout.PREFERRED_SIZE, 88, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addGroup(panel_kamarLayout.createSequentialGroup()
                        .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(b_refersh_kamar, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 750, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panel_kamarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(b_tambah_kamar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(b_delete_kamar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(b_edit_kamar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        panel_kamarLayout.setVerticalGroup(
            panel_kamarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panel_kamarLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panel_kamarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(b_refersh_kamar, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panel_kamarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panel_kamarLayout.createSequentialGroup()
                        .addComponent(b_tambah_kamar)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(b_edit_kamar)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(b_delete_kamar)
                        .addGap(0, 103, Short.MAX_VALUE))
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panel_kamarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(b_cari_kamar, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(t_cari_kamar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        jTabbedPane1.addTab("Kamar", panel_kamar);

        b_logout.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        b_logout.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Img/lock_1.png"))); // NOI18N
        b_logout.setText("Log Out");
        b_logout.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        b_logout.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                b_logoutActionPerformed(evt);
            }
        });

        l_admin.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        l_admin.setForeground(new java.awt.Color(255, 255, 255));
        l_admin.setText("Admin");

        l_id_admin1.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        l_id_admin1.setForeground(new java.awt.Color(255, 255, 255));
        l_id_admin1.setText("Admin : ");

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(jPanel3Layout.createSequentialGroup()
                                .addComponent(l_id_admin1)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(l_id_admin)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(l_admin)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(b_logout))))
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addGap(51, 51, 51)
                        .addComponent(jTabbedPane1)))
                .addContainerGap())
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(l_id_admin)
                    .addComponent(b_logout)
                    .addComponent(l_admin)
                    .addComponent(l_id_admin1))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTabbedPane1)
                .addContainerGap())
        );

        jMenu1.setText("File");

        menu_laporan.setText("Laporan");
        jMenu1.add(menu_laporan);

        menu_logout.setText("LogOut");
        jMenu1.add(menu_logout);

        menu_keluar.setText("Keluar");
        menu_keluar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                menu_keluarActionPerformed(evt);
            }
        });
        jMenu1.add(menu_keluar);

        jMenuBar1.add(jMenu1);

        jMenu2.setText("Pengaturan");

        menu_passwoord.setText("Password");
        menu_passwoord.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                menu_passwoordActionPerformed(evt);
            }
        });
        jMenu2.add(menu_passwoord);

        jMenuBar1.add(jMenu2);

        menu_info.setText("Info");
        menu_info.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                menu_infoActionPerformed(evt);
            }
        });

        menu_info_aplikasi.setText("Tentang Aplikasi");
        menu_info_aplikasi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                menu_info_aplikasiActionPerformed(evt);
            }
        });
        menu_info.add(menu_info_aplikasi);

        jMenuBar1.add(menu_info);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
        setLocationRelativeTo(null);
    }// </editor-fold>                       
   
    //perintah menampilkan tanggal
    public void Tanggal_sekarang(){
        java.util.Date sekarang = new java.util.Date();
        java.text.SimpleDateFormat kal = new java.text.SimpleDateFormat ("dd-MM-yyyy") ;
        l_tanggal.setText("Tanggal "+kal.format(sekarang));
    }
   
    // jam digital Konstruktor
    public void jamDigital() {
    // ActionListener untuk Keperluan Timer
        ActionListener taskPerformer = new ActionListener() {
            public void actionPerformed(ActionEvent evt) {
                String nol_jam = "";
                String nol_menit = "";
                String nol_detik = "";
                // Membuat Date
                Date dt = new Date();
                // Mengambil nilaj JAM, MENIT, dan DETIK Sekarang
                int nilai_jam = dt.getHours();
                int nilai_menit = dt.getMinutes();
                int nilai_detik = dt.getSeconds();
                // Jika nilai JAM lebih kecil dari 10 (hanya 1 digit)
                if (nilai_jam <= 9) {
                  // Tambahkan "0" didepannya
                  nol_jam = "0";
                }
                // Jika nilai MENIT lebih kecil dari 10 (hanya 1 digit)
                if (nilai_menit <= 9) {
                  // Tambahkan "0" didepannya
                  nol_menit = "0";
                }
                // Jika nilai DETIK lebih kecil dari 10 (hanya 1 digit)
                if (nilai_detik <= 9) {
                  // Tambahkan "0" didepannya
                  nol_detik = "0";
                }
                // Membuat String JAM, MENIT, DETIK
                String jam = nol_jam + Integer.toString(nilai_jam);
                String menit = nol_menit + Integer.toString(nilai_menit);
                String detik = nol_detik + Integer.toString(nilai_detik);
                // Menampilkan pada Layar
                l_jam.setText("Jam "+jam + ":" + menit + ":" + detik);
            }
        };
        // Timer
        new Timer(1000, taskPerformer).start();
    }
   
    private DefaultTableModel tabmode;
   
    public void tampil_karyawan(){
        Object []baris = {"ID Karyawan","Nama Karyawan","Jenis Kelamin","Alamat","No Tlp"};
        tabmode = new DefaultTableModel(null, baris);
        tbl_karyawan.setModel(tabmode);
        try {
            String sql = "SELECT * FROM tb_karyawan order by id_karyawan asc";
            Statement stat = conn.createStatement();
            ResultSet hasil = stat.executeQuery(sql);
            while (hasil.next()){
                String id_karyawan = hasil.getString("id_karyawan");
                String nama_karyawan = hasil.getString("nama_karyawan");
                String jenis_kelamin = hasil.getString("jenis_kelamin");
                String alamat = hasil.getString("alamat");
                String no_tlp = hasil.getString("no_tlp");
                String[] data = {id_karyawan, nama_karyawan, jenis_kelamin, alamat, no_tlp};
                tabmode.addRow(data);
            }
        } catch (Exception e) {
            JOptionPane.showMessageDialog(null, "Menampilkan data GAGAL","Informasi", JOptionPane.INFORMATION_MESSAGE);
        }
    }
       
    public void cari_Karyawan(){
        String cari = t_cari_karyawan.getText();
        Object []baris = {"ID Karyawan","Nama Karyawan","Jenis Kelamin","Alamat","No Tlp"};
        tabmode = new DefaultTableModel(null, baris);
        tbl_karyawan.setModel(tabmode);
        try{
            String sql="Select * from tb_karyawan where id_karyawan like '%"+cari+"%' or nama_karyawan like '%"+cari+"%' or jenis_kelamin like '%"+cari+"%' or alamat like '%"+cari+"%' or no_tlp like '%"+cari+"%' order by id_karyawan asc";
            Statement stmt=conn.createStatement();
            ResultSet rslt=stmt.executeQuery(sql);
            while(rslt.next()){
                String id_karyawan=rslt.getString("id_karyawan");
                String nama_karyawan=rslt.getString("nama_karyawan");
                String jenis_kelamin=rslt.getString("jenis_kelamin");
                String alamat=rslt.getString("alamat");
                String no_tlp=rslt.getString("no_tlp");
                String[] data={id_karyawan,nama_karyawan,jenis_kelamin,alamat,no_tlp};
                tabmode.addRow(data);
            }
        }
        catch(Exception ex){
        }
    }
   
    public void tampil_kamar(){
        Object []baris = {"Kode Kamar","Lantai","No Kamar","Tipe Kamar","Harga Per Malam"};
        tabmode = new DefaultTableModel(null, baris);
        tbl_kamar.setModel(tabmode);
        try {
            String sql = "SELECT * FROM tb_kamar order by kode_kamar asc";
            Statement stat = conn.createStatement();
            ResultSet hasil = stat.executeQuery(sql);
            while (hasil.next()){
                String kode_kamar = hasil.getString("kode_kamar");
                String lantai = hasil.getString("lantai");
                String no_kamar = hasil.getString("no_kamar");
                String tipe_kamar = hasil.getString("tipe_kamar");
                String harga_permalam = hasil.getString("harga_permalam");
                String[] data = {kode_kamar, lantai, no_kamar, tipe_kamar, harga_permalam};
                tabmode.addRow(data);
            }
        } catch (Exception e) {
            JOptionPane.showMessageDialog(null, "Menampilkan data GAGAL","Informasi", JOptionPane.INFORMATION_MESSAGE);
        }
    }
   
    public void cari_Kamar(){
        String cari = t_cari_kamar.getText();
        Object []baris = {"Kode Kamar","Lantai","No Kamar","Tipe Kamar","Harga Per Malam"};
        tabmode = new DefaultTableModel(null, baris);
        tbl_kamar.setModel(tabmode);
        try{
            String sql="Select * from tb_kamar where "
                    + "kode_kamar like '%"+cari+"%' "
                    + "or lantai like '%"+cari+"%' "
                    + "or no_kamar like '%"+cari+"%' "
                    + "or tipe_kamar like '%"+cari+"%' "
                    + "or harga_permalam like '%"+cari+"%' "
                    + "order by kode_kamar asc";
            Statement stmt=conn.createStatement();
            ResultSet hasil=stmt.executeQuery(sql);
            while(hasil.next()){
                String kode_kamar = hasil.getString("kode_kamar");
                String lantai = hasil.getString("lantai");
                String no_kamar = hasil.getString("no_kamar");
                String tipe_kamar = hasil.getString("tipe_kamar");
                String harga_permalam = hasil.getString("harga_permalam");
                String[] data = {kode_kamar, lantai, no_kamar, tipe_kamar, harga_permalam};
                tabmode.addRow(data);
            }
        }
        catch(Exception ex){
        }
    }
   
    public void tampil_Tamu(){
        Object []baris = {"ID/No Tamu","Nama Tamu","Jenis Kelamin","Alamat","No Tlp","Kode Kamar","Lantai","No Kamar","Tipe Kamar","Tanggal Cek In","Jam Cek In"};
        tabmode = new DefaultTableModel(null, baris);
        tbl_tamu.setModel(tabmode);
        try {
            String sql = "SELECT tb_tamu.*,  tb_kamar.* FROM tb_tamu, tb_kamar WHERE tb_tamu.kode_kamar=tb_kamar.kode_kamar ORDER BY tb_kamar.kode_kamar asc";
            Statement stat = conn.createStatement();
            ResultSet hasil = stat.executeQuery(sql);
            while (hasil.next()){
                String no_tamu = hasil.getString("no_tamu");
                String nama_tamu = hasil.getString("nama_tamu");
                String jenis_kelamin = hasil.getString("jenis_kelamin");
                String alamat = hasil.getString("alamat");
                String no_tlp = hasil.getString("no_tlp");
                String kode_kamar = hasil.getString("kode_kamar");
                String lantai = hasil.getString("lantai");
                String no_kamar = hasil.getString("no_kamar");
                String tipe_kamar = hasil.getString("tipe_kamar");
                String tgl_cek_in = hasil.getString("tgl_cek_in");
                String jam_cek_in = hasil.getString("jam_cek_in");
                String[] data = {no_tamu, nama_tamu, jenis_kelamin, alamat, no_tlp, kode_kamar, lantai, no_kamar, tipe_kamar, tgl_cek_in, jam_cek_in};
                tabmode.addRow(data);
            }
        } catch (Exception e) {
            JOptionPane.showMessageDialog(null, "Menampilkan data GAGAL","Informasi", JOptionPane.INFORMATION_MESSAGE);
        }
    }
   
    public void cari_Tamu(){
        String cari = t_cari_tamu.getText();
        Object []baris = {"ID/No Tamu","Nama Tamu","Jenis Kelamin","Alamat","No Tlp","Kode Kamar","Lantai","No Kamar","Tipe Kamar","Tanggal Cek In","Jam Cek In"};
        tabmode = new DefaultTableModel(null, baris);
        tbl_tamu.setModel(tabmode);
        try{
            String sql = "SELECT tb_tamu.*, tb_kamar.* FROM tb_tamu INNER JOIN tb_kamar ON tb_tamu.kode_kamar=tb_kamar.kode_kamar WHERE "
                    + "no_tamu like '%"+cari+"%' "
                    + "OR nama_tamu like '%"+cari+"%' "
                    + "OR jenis_kelamin like '%"+cari+"%' "
                    + "OR alamat like '%"+cari+"%' "
                    + "OR no_tlp like '%"+cari+"%' "
                    + "OR tb_tamu.kode_kamar like '%"+cari+"%' "
                    + "OR lantai like '%"+cari+"%' "
                    + "OR no_kamar like '%"+cari+"%' "
                    + "OR tipe_kamar like '%"+cari+"%' "
                    + "OR tgl_cek_in like '%"+cari+"%' "
                    + "OR jam_cek_in like '%"+cari+"%' "
                    + "order by tb_tamu.kode_kamar asc";
            Statement stmt=conn.createStatement();
            ResultSet hasil=stmt.executeQuery(sql);
            while(hasil.next()){
                String no_tamu = hasil.getString("no_tamu");
                String nama_tamu = hasil.getString("nama_tamu");
                String jenis_kelamin = hasil.getString("jenis_kelamin");
                String alamat = hasil.getString("alamat");
                String no_tlp = hasil.getString("no_tlp");
                String kode_kamar = hasil.getString("tb_tamu.kode_kamar");
                String lantai = hasil.getString("lantai");
                String no_kamar = hasil.getString("no_kamar");
                String tipe_kamar = hasil.getString("tipe_kamar");
                String tgl_cek_in = hasil.getString("tgl_cek_in");
                String jam_cek_in = hasil.getString("jam_cek_in");
                String[] data = {no_tamu, nama_tamu, jenis_kelamin, alamat, no_tlp, kode_kamar, lantai, no_kamar, tipe_kamar, tgl_cek_in, jam_cek_in};
                tabmode.addRow(data);
            }
        }
        catch(Exception ex){
        }
    }
       
    private void b_tambah_karyawanActionPerformed(java.awt.event.ActionEvent evt) {                                                 
        f_tambah_edit_karyawan f_t_e_karyawan = new f_tambah_edit_karyawan(this, rootPaneCheckingEnabled);
        f_t_e_karyawan.l_judul.setText("TAMBAH KARYAWAN");
        f_t_e_karyawan.t_id_karyawan.setText(null);
        f_t_e_karyawan.t_id_karyawan.setEnabled(true);
        f_t_e_karyawan.setVisible(true);
    }                                                

    private void b_tambah_kamarActionPerformed(java.awt.event.ActionEvent evt) {                                              
        f_tambah_edit_kamar f_t_e_kamar = new f_tambah_edit_kamar(this, rootPaneCheckingEnabled);
        f_t_e_kamar.l_judul.setText("TAMBAH KAMAR");
        f_t_e_kamar.t_kode_kamar.setText(null);
        f_t_e_kamar.t_kode_kamar.setEnabled(true);
        f_t_e_kamar.setVisible(true);
    }                                             

    private void menu_infoActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
    }                                        

    private void menu_passwoordActionPerformed(java.awt.event.ActionEvent evt) {                                              
        // TODO add your handling code here:
    }                                             

    private void menu_info_aplikasiActionPerformed(java.awt.event.ActionEvent evt) {                                                  
        // TODO add your handling code here:
        new f_info(this, rootPaneCheckingEnabled).setVisible(true);
    }                                                 

    private void b_refersh_karyawanActionPerformed(java.awt.event.ActionEvent evt) {                                                  
        // TODO add your handling code here:
        tampil_karyawan();
        t_cari_karyawan.setText(null);
    }                                                 

    private void b_refersh_kamarActionPerformed(java.awt.event.ActionEvent evt) {                                               
        // TODO add your handling code here:
        tampil_kamar();
    }                                              

    private void menu_keluarActionPerformed(java.awt.event.ActionEvent evt) {                                           
        // TODO add your handling code here:
        System.exit(0);
    }                                          

    private void b_refersh_tamuActionPerformed(java.awt.event.ActionEvent evt) {                                              
        // TODO add your handling code here:
        tampil_Tamu();
    }                                             

    private void b_tambah_tamuActionPerformed(java.awt.event.ActionEvent evt) {                                             
        f_cek_in form_cekin = new f_cek_in(this, rootPaneCheckingEnabled);
        form_cekin.l_judul.setText("CEK IN");
        form_cekin.ketemu_kamar();
        form_cekin.setVisible(true);
    }                                            

    private void b_logoutActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:
        new f_login().setVisible(true);
        this.setVisible(false);
    }                                       

    private void b_edit_karyawanActionPerformed(java.awt.event.ActionEvent evt) {                                               
        // TODO add your handling code here:
        f_tambah_edit_karyawan f_t_e_karyawan = new f_tambah_edit_karyawan(this, rootPaneCheckingEnabled);
        f_t_e_karyawan.l_judul.setText("EDIT DATA KARYAWAN");
        int baris = tbl_karyawan.getSelectedRow();
        String id_karyawan = (String)tbl_karyawan.getValueAt(baris, 0);
        f_t_e_karyawan.t_id_karyawan.setText(id_karyawan);
        f_t_e_karyawan.t_id_karyawan.setEnabled(false);
        f_t_e_karyawan.cari_Id();
        f_t_e_karyawan.setVisible(true);
    }                                              

    private void b_delete_karyawanActionPerformed(java.awt.event.ActionEvent evt) {                                                 
        int baris = tbl_karyawan.getSelectedRow();
        String id_karyawan = (String)tbl_karyawan.getValueAt(baris, 0);
        int ok = JOptionPane.showConfirmDialog(null,"Apakah anda yakin ingin menghapus data Karyawan\n Dengan ID : "+ id_karyawan +"..?","Konfirmasi",JOptionPane.YES_NO_OPTION);
        if(ok == 0){
            try{
                //panggil method koneksi
                String sql="DELETE FROM tb_karyawan WHERE id_karyawan ='"+id_karyawan+"'";
                Statement st = conn.createStatement();
                st.executeUpdate(sql);
                JOptionPane.showMessageDialog(null,"Menghapus data BERHASIL","Informasi", JOptionPane.INFORMATION_MESSAGE);
                tampil_karyawan();
            }catch(Exception e){
                JOptionPane.showMessageDialog(null,"Meghapus data GAGAL");
            }
        }
    }                                                

    private void b_cari_kamar2ActionPerformed(java.awt.event.ActionEvent evt) {                                             
        cari_Tamu();
    }                                            

    private void b_cari_karyawanActionPerformed(java.awt.event.ActionEvent evt) {                                               
        cari_Kamar();
    }                                              

    private void t_cari_karyawanKeyTyped(java.awt.event.KeyEvent evt) {                                        
        char c = evt.getKeyChar();
        if (c == KeyEvent.VK_ENTER){
            cari_Karyawan();
        }
    }                                       

    private void b_edit_kamarActionPerformed(java.awt.event.ActionEvent evt) {                                            
        f_tambah_edit_kamar f_t_e_kamar = new f_tambah_edit_kamar(this, rootPaneCheckingEnabled);
        f_t_e_kamar.l_judul.setText("EDIT DATA KAMAR");
        int baris = tbl_kamar.getSelectedRow();
        String kode = (String)tbl_kamar.getValueAt(baris, 0);
        f_t_e_kamar.t_kode_kamar.setText(kode);
        f_t_e_kamar.t_kode_kamar.setEnabled(false);
        f_t_e_kamar.cari_Kode_kamar();
        f_t_e_kamar.setVisible(true);
    }                                           

    private void b_cari_kamarActionPerformed(java.awt.event.ActionEvent evt) {                                            
        cari_Kamar();
    }                                           

    private void t_cari_kamarKeyTyped(java.awt.event.KeyEvent evt) {                                     
        char c = evt.getKeyChar();
        if (c == KeyEvent.VK_ENTER){
            cari_Kamar();
        }
    }                                    

    private void b_delete_kamarActionPerformed(java.awt.event.ActionEvent evt) {                                              
        int baris = tbl_kamar.getSelectedRow();
        String kode = (String)tbl_kamar.getValueAt(baris, 0);
        int ok = JOptionPane.showConfirmDialog(null,"Apakah anda yakin ingin menghapus data Kamar\n Dengan Kode Kamar : "+ kode +"..?","Konfirmasi",JOptionPane.YES_NO_OPTION);
        if(ok == 0){
            try{
                //panggil method koneksi
                String sql="DELETE FROM tb_kamar WHERE id_karyawan ='"+kode+"'";
                Statement st = conn.createStatement();
                st.executeUpdate(sql);
                JOptionPane.showMessageDialog(null,"Menghapus data BERHASIL","Informasi", JOptionPane.INFORMATION_MESSAGE);
                tampil_kamar();
            }catch(Exception e){
                JOptionPane.showMessageDialog(null,"Meghapus data GAGAL");
            }
        }
    }                                             

    private void t_cari_tamuKeyTyped(java.awt.event.KeyEvent evt) {                                    
        char c = evt.getKeyChar();
        if (c == KeyEvent.VK_ENTER){
            cari_Tamu();
        }
    }                                   

    private void b_cekoutActionPerformed(java.awt.event.ActionEvent evt) {                                        
        f_cek_out form_cekout = new f_cek_out(this, rootPaneCheckingEnabled);
        form_cekout.ketemu_Tamu();
        form_cekout.l_judul.setText("CEK OUT");
        int baris = tbl_tamu.getSelectedRow();
        String kode = (String)tbl_tamu.getValueAt(baris, 0);
        form_cekout.c_no_tamu.setSelectedItem(kode);
        form_cekout.cari_ID_Tamu();
        form_cekout.cari_Kode_Kamar();
        form_cekout.hitung_Hari();
        form_cekout.hitung_TotalBayar();
        form_cekout.setVisible(true);
    }                                       

    private void b_historyActionPerformed(java.awt.event.ActionEvent evt) {                                         
        f_history_tamu form_history = new f_history_tamu(this, rootPaneCheckingEnabled);
        form_history.setVisible(true);
    }                                        

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(f_utama.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(f_utama.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(f_utama.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(f_utama.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new f_utama().setVisible(true);
            }
        });
    }
  
    // Variables declaration - do not modify                    
    private javax.swing.JButton b_cari_kamar;
    private javax.swing.JButton b_cari_kamar2;
    private javax.swing.JButton b_cari_karyawan;
    private javax.swing.JButton b_cekout;
    private javax.swing.JButton b_delete_kamar;
    public javax.swing.JButton b_delete_karyawan;
    private javax.swing.JButton b_edit_kamar;
    public javax.swing.JButton b_edit_karyawan;
    private javax.swing.JButton b_history;
    private javax.swing.JButton b_logout;
    private javax.swing.JButton b_refersh_kamar;
    public javax.swing.JButton b_refersh_karyawan;
    private javax.swing.JButton b_refersh_tamu;
    private javax.swing.JButton b_tambah_kamar;
    public javax.swing.JButton b_tambah_karyawan;
    private javax.swing.JButton b_tambah_tamu;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JPanel jPanel10;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JTabbedPane jTabbedPane1;
    public javax.swing.JLabel l_admin;
    public javax.swing.JLabel l_id_admin;
    public javax.swing.JLabel l_id_admin1;
    private javax.swing.JLabel l_jam;
    private javax.swing.JLabel l_tanggal;
    private javax.swing.JMenu menu_info;
    private javax.swing.JMenuItem menu_info_aplikasi;
    private javax.swing.JMenuItem menu_keluar;
    private javax.swing.JMenuItem menu_laporan;
    private javax.swing.JMenuItem menu_logout;
    private javax.swing.JMenuItem menu_passwoord;
    private javax.swing.JPanel panel_kamar;
    private javax.swing.JPanel panel_karyawan;
    private javax.swing.JPanel panel_tamu;
    private javax.swing.JTextField t_cari_kamar;
    private javax.swing.JTextField t_cari_karyawan;
    private javax.swing.JTextField t_cari_tamu;
    private javax.swing.JTable tbl_kamar;
    private javax.swing.JTable tbl_karyawan;
    private javax.swing.JTable tbl_tamu;
    // End of variables declaration                  
}

BAB IV
KESIMPULAN

4.1 Kesimpulan
         Sistem penyewaan kamar hotel menggunakan database untuk menyimpan data-data pemesanan kamar secara komputerisasi sehingga kemungkinan terjadinya terulangnya data yang sama dalam sebuah data base sangat kecil 
      Dan juga dapat memudahkan pegawai dalam hal memesukan data penginap dari manual ke komputerisasi sehingga pekerjaan yang sebelumnya lebih efisien dan terdata dengan baik, memudahkan pegawai dalam mengatur kemejemenan pehotelan 

4.2 Saran
     Rancang bangun aplikasi penyewaan kamar Hotel Berbintang X belum maksimal sehingga kedepannya dapat dikembangan lagi dengan berbasis web. Dan aplikasi ini menghubungakan dari pihak hotel ke ruang public.

http://muslim-kekinian.blogspot.co.id/2016/02/contoh-laporan-aplikasi-sistem.html



Disusun Oleh :
A1.1600010 Muhammad Labibbudin
A1.1600018 Widyatian Mulyanti

0 Komentar untuk "APLIKASI PEMESANAN KAMAR HOTEL"

Silakan tinggalkan komentar anda. DILARANG KERAS menyimpan link blog/web pada komentar dengan tujuan backlink, Spam.

 
Copyright © 2014 Tutorial Kampus - All Rights Reserved
Template By. Catatan Info