Skip to content

Car Rental System, build with concept of OOP (Object-oriented Programming) on Netbeans IDE, using JFrame, Java Language.

Notifications You must be signed in to change notification settings

insomniagung/Car-Rental-Desktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car Rental Application [English]

This project was created to fulfill a Lecture Assignment: Object-Based Programming.

Video Tutorial: Youtube

Here I use Netbeans software for Integrated Development Environment, then use plugin "mysql-connector-java-5.1.23-bin.jar" to connect to MySQL Database, and also use "jcalendar -1.4.jar" to display Library JKalender as rental date. So, you can use the included plugin to fix errors when the project is run.

Algorithm on Car Rental System:

  1. Make sure the sql database with the name "dbms_rentalmobil" is installed on the *localhost* system.
  2. Make sure the plugins (sql connector and jcalender) are installed correctly, so that there are no errors.
  3. Run the project, or by running menu_login.java, to enter the dashboard page please enter the correct username and password, there are two administrator roles, namely as Admin and Staff. If you want to log in as an Admin, the default can use the username "agung" and the password "1234", if you want to enter as a Staff the default can use the username "staff" and the password "staff".
  4. In the Dashboard Menu, there is the Add Car Menu, Car Rental Menu, and Car Return Menu. There is also a User Menu if logged in as Admin.
  5. Open the Add Car Menu, in this menu there is a form for adding a car that contains the brand, type, year of production, police number, rental price, and status of the car rental condition. We as Admin/Staff can add, change, and delete available car data.
  6. Open the Car Rental Menu, fill in the form for filling in the car rental information, the form contains Name, NIK, Phone Number, Email, and Address. To view the input details, click view, if the data is correct then click Continue Transaction.
  7. Still in the Car Rental Menu, please select the available car based on the police number so that the details of the car will appear. Then select the rental date and the return date of the car, and click on the length of the loan (days) to display the length of the loan, then click Calculate Price to display the total payment. Finally, click Save Data.
  8. Open the Return Car Menu, then fill in the car return form by selecting the car you want to return because it has been rented out, then click Return Car. On this menu there is also a button to print transactions and export tables to Excel format.
  9. Log out if you want to close the car rental system application by clicking the Log Out button.

Aplikasi Rental Mobil [Indonesia]

Projek ini dibuat untuk memenuhi Tugas Kuliah : Pemrograman Berbasis Objek.

Video Tutorial: Youtube

Disini saya menggunakan software Netbeans untuk Lingkungan Pengembangan Terintegrasi, kemudian menggunakan plugin "mysql-connector-java-5.1.23-bin.jar" untuk menghubungkan ke Basis Data MySQL, dan juga menggunakan "jcalendar-1.4.jar" untuk menampilkan Library JKalender sebagai tanggal penyewaan. Jadi, kalian bisa menggunakan plugin yang telah include untuk memperbaiki error ketika project dijalankan.

Algoritma pada Sistem Rental Mobil :

  1. Pastikan database sql dengan nama "dbms_rentalmobil" sudah terpasang pada sistem *localhost*.
  2. Pastikan plugin (sql connector dan jcalender) telah terpasang dengan benar, sehingga tidak ada error.
  3. Jalankan project, atau dengan menjalankan menu_login.java, untuk masuk ke halaman dashboard silakan masukkan username dan password dengan benar, terdapat dua role adminstrator, yaitu sebagai Admin dan Staff. Jika ingin masuk sebagai Admin, default bisa menggunakan username "agung" dan password ''1234", jika ingin masuk sebagai Staff defaultnya bisa menggunakan username "staff" dan password "staff".
  4. Dalam Menu Dashboard, terdapat Menu Tambah Mobil, Menu Sewa Mobil, dan Menu Kembalikan Mobil. Juga terdapat Menu User jika login sebagai Admin.
  5. Buka Menu Tambah Mobil, di menu ini terdapat form pengisian tambah mobil yang berisi merk, tipe, tahun produksi, nomor polisi, harga sewa, dan status keadaan sewa mobil. Kita sebagai Admin/Staff dapat menambah, mengubah, dan menghapus data mobil yang tersedia.
  6. Buka Menu Sewa Mobil, isi form pengisian informasi penyewa mobil, form berisi Nama, NIK, Nomor Telepon, Email, dan Alamat. Untuk melihat detail inputan, klik view, jika data sudah benar lalu klik Lanjut Transaksi.
  7. Masih di Menu Sewa Mobil, silakan pilih mobil yang tersedia berdasarkan nomor polisi sehingga akan tampil detail dari mobil tersebut. Kemudian pilih tanggal penyewaan dan tanggal kembali mobil, serta klik pada lama (hari) peminjaman agar tampil lama peminjaman, lalu klik Hitung Harga agar tampil total bayar. Terakhir, klik Simpan Data.
  8. Buka Menu Kembalikan Mobil, lalu isi form pengembalian mobil dengan memilih mobil yang ingin dikembalikan karena telah sesai disewakan, kemudian klik Kembalikan Mobil. Pada Menu ini juga terdapat Tombol untuk Cetak Transaksi dan Export Table ke bentuk atau format Excel.
  9. Logout jika ingin menutup aplikasi sistem rental mobil dengan cara Klik tombol Log Out.

About

Car Rental System, build with concept of OOP (Object-oriented Programming) on Netbeans IDE, using JFrame, Java Language.

Topics

Resources

Stars

Watchers

Forks

Languages