You are on page 1of 1

BABYYY!!!!!!

KAYA MO YANNN GOODLUCK SA PAG GAWA NG VID


ITO GUIDE MO BAGO KA MAG START SA VID TRY MO MUNA SA SEPARATE NA PROJECT PARA
MASANAY KA
I LOVE YOU ALWAYS MY LOVE
MY WIFE
MY LOVEEEE
MY SUUUUPEER BEST BEBE IN DA WORLD HAHAHHAA
I LOVE YOU SO MUCHH
KAYANG KAYA MO YAN, IM HERE FOR U ALWAYSSSSS

Login System

(sabihin mo to)
In this page we have to fields username and password. When we enter
incorrect username and password it will show a popup message Incorrect
Username or Password. If we enter correct username or password we will move to next
page.
It having one more button for exit this application.

1. create a project name it Library Management System


2. create a jframe form name it login
3. place ka ng panel na same size sa background size jan
(sundin mo nalang yung design natin sa login love)
4. place 2 labels, edit text into username and password (size 36 Bold) (yung word
na Login sa may bandang taas na dark gray na panel size nun love is 36)
5. place a textfield for the username
6. place a passwordfield for the password
7. place 2 buttons, edit text into save and close (size 24 Bold
9. right click the button login and select properties click "..." sa icon and click
folder ng icon1 select yung login.png
9. right click the button login and select properties click "..." sa icon and click
folder ng icon1 select yung red x mark eme eme
10. adjust size of the background to 1366,768
11. right click background punta ka sa set layout click mo yung absolute layout
12. place a label, clear mo yung text dun tas right click go to properties, click
icon and select mo yung background natin na library
13. create ka ng jframe form, ipangalan mong home (ur my home baby i love u always)

14. double click mo yung button na login tas i code mo ito

if(jTextField1.getText().equals("admin") && jPasswordField1.getText ().


equals ("admin"))
{
setVisible (false);
new home ().setVisible (true);
}
else
JOptionPane.showMessageDialog(null,"Incorrect Username or Password");

13. i code mo to love sa may initcomponents


jPanel1.setBackground(new Color(1.0f,1.0f,1.0f,0.5f));
setExtendedState(JFrame.MAXIMIZED_BOTH);

14. i code mo to love sa may close button


System.exit(0);

You might also like