Netbeans Project for Free
Download Netbeans project are freely available on this website.These project are only for Educational Purpose don't misuse them and I know these project will help you .
Monday, 28 December 2015
Saturday, 19 December 2015
Add Date and Time
Step 2-Paste Code
currentdate();
setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("mandik4.jpg")));
try
{
Class .forName("com.mysql.jdbc.Driver");
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/hotel","root","TIGER");
}
catch(ClassNotFoundException e)
{
System.out.println(e.getMessage());
} catch (SQLException e) {
System.out.println(e.getMessage());
}
}
private void currentdate(){
Calendar cal=new GregorianCalendar();
int second=cal.get(Calendar.SECOND);
int minute=cal.get(Calendar.MINUTE);
int hour=cal.get(Calendar.HOUR);
jLabel7.setText("Time"+hour+":"+(minute)+":"+second);
int date=cal.get(Calendar.DATE);
int month=cal.get(Calendar.MONTH);
int year=cal.get(Calendar.YEAR);
jLabel5.setText("Date "+date+"/"+(month+1)+"/"+year);
Thread th=new Thread(){
public void run(){
for(;;){
Calendar cal=new GregorianCalendar();
int second=cal.get(Calendar.SECOND);
int minute=cal.get(Calendar.MINUTE);
int hour=cal.get(Calendar.HOUR);
jLabel7.setText("Time "+hour+":"+(minute)+":"+second);
int date=cal.get(Calendar.DATE);
int month=cal.get(Calendar.MONTH);
int year=cal.get(Calendar.YEAR);
jLabel5.setText("Date "+date+"/"+(month+1)+"/"+year);
try {
sleep(1000);
} catch (InterruptedException ex) {
Logger.getLogger(login.class.getName()).log(Level.SEVERE, null, ex);
}
}
}
};
th.start();
Friday, 18 December 2015
Teacher Management
Teacher Management
Download
Project
Zippyshare: http://www80.zippyshare.com/v/folLEnrE/file.html
Mysql File for version 5.0
Zippyshare: http://www93.zippyshare.com/v/vKol8302/file.html
Subscribe to:
Posts (Atom)