What is library management system.
Library management system is all about organizing, managing the library and library-oriented tasks. It also involves maintaining the database of entering new books and the record of books that have been retrieved or issued, with their respective dates.
To get help you can see the video.
Source code for loading page.
Thread th;
public Loading() {
initComponents();
th = new Thread((Runnable)this);
setRun();
middle();
}
public void middle(){
setLocationRelativeTo(null);
}
public void setRun(){
th.start();
}
@Override
public void run() {
try{
for(int i=0; i<200; i++){
int m = jProgressBar1.getMaximum();
int n = jProgressBar1.getValue();
if(n<m){
jProgressBar1.setValue(jProgressBar1.getValue()+1);
}else{
i = 201;
dispose();
new Login().setVisible(true);
}Thread.sleep(50);
}
}catch(Exception e){
JOptionPane.showMessageDialog(null, e);
}
}
Be First to Comment