You are on page 1of 75

Rumah Coding Course

"Java Fundamental"
Studi Kasus : Aplikasi Penjualan Sederhana

Day 3
"Have you finished your
HOMEWORK ???"
"NOT YET!!!"

Make it...
"Lets create new class
called as InputActivity"
"Modify class
InputActivity into
this : "
"Add property and constructor to class
InputActivity "
"Add this method into class
InputActivity "
"Add this method into class
InputActivity "
"Add this method into class
InputActivity "
"Add this method into class
InputActivity "
"Add this method into class
InputActivity "
"The last one"
"Hands on FormBarangActivity and
modify to this : "
"Implement
every single
abstract
method"
"Lets create some
validation for
FormBarangActivity"
"Name validation"
"Stock validation"
"Price validation"
"Call all validation inside method
validateAllInput"
"Add focus listener to input stock and
input harga then choose focusGained"
"On input stock"
"On input harga"
"Modify the
constructor"
"Test our
FormBarangActivity"
"Make these activity works"
"Design our
CommonEntityManagerActivity
into this"
"Make it abstract"
"Add
these
methods
"
"Add some property"
"Add these methods"
"Add method loadData
to data from database"
"Add these
methods for add
new and update
data"
"Add method deleteData to remove
data from database"
"Create
context menu
for selected
row on table"
"Add method initColumns for initialize
columns on tables"
"Add method init for initialize the
activity"
"Modify the constructor"
"Add Action Listener to add button
and cancel button"
"On cancel button"
"On add button"
"Create new class called as
BarangManagerActivity"
"Modify into
this :"
"Test our
BarangManagerActivity"
"Make customer data manager..."
"Make karyawan data manager..."
"Make user data manager..."
"Create new package called as
menuProgram"
"Under package menuProgram
create these JDialog :"

• ChangePasswordActivity
• ChangeUsernameActivity
• LoginActivity
"Design ChangePasswordActivity:"
"Design ChangeUsernameActivity:"
"Design LoginActivity:"
"Create new class called Session
under root package"
"Modify
class
Session
into this : "
"Create these
method on
ChangePassw
ordActivity : "
"Create these
method on
ChangeUsern
ameActivity :
"
"Add action to save button and cancel button on
class ChangePasswordActivity and
ChangeUsernameActivity: "
"Create
validation on
LoginActivity"
"Add these method on LoginActivity"
"Add login
method on
LoginActivity"
"Add action on login button and cancel button on
LoginActivity"
"Lets add Menu bar to out MainActivity "
"Add this method to MainActvity"
"Add Action for Logout Menu"
"Add Action for Exit Menu"
"Add Action for Change Username Menu"
"Add Action for Change Password Menu"
"Add Action for Data Manager Barang Menu"
"Add Action for Data Manager Customer Menu"
"Add Action for Data Manager Karyawan Menu"
"Add Action for Data Manager User Menu"
"Test it"

You might also like