This tutorial show you how use progress bar in java application. You can learn to make this bar watching this video tutorial. source code include here.
Lord ho = new Lord();
ho.setVisible(true);
try {
for(int i = 0; i<=100; i++)
{
Thread.sleep(40);
Lord.lordbar.setValue(i);
if(i == 100)
{
Login lg =new Login();
lg.setVisible(true);
ho.dispose();
}
}
} catch (Exception e) {
}
No comments:
Post a Comment