java projects

Invoice No Generating using Java and Mysql

This tutorial will teach you how to generating Auto Invoice No using Java and Mysql.this example will important for developing the inventory management system project. FirstStep  : we have to establish the database connection Connection con; PreparedStatement pst; public void Connect() { try { Class.forName(“com.mysql.jdbc.Driver”); con = DriverManager.getConnection(“jdbc:mysql://localhost/mcafe”, “root”, “”); } catch (ClassNotFoundException ex) {

Invoice No Generating using Java and Mysql Read More »

Cash Issue System using Java

This tutorial will teach you how to make a Cash Issue System using Java Step by Step. First Select the textfield right click-> AddEvent Handler-> key-> keyRelased public void keyReleased(KeyEvent e) { double a = Double.parseDouble(txt1000.getText()) * 1000; txttot1000.setText(String.valueOf(a)); } Do each textfield same thing like above. After that Paste the Code inside the ok

Cash Issue System using Java Read More »

Retirement date Calculating System Java

This tutorial will teach you how to make a Retirement date Calculating System Step by Step. Paste the Code inside the Ok button SimpleDateFormat df = new SimpleDateFormat(“yyyy-MM-dd”); String issuedate = df.format(jdate.getDate()); Calendar c = Calendar.getInstance(); txtjdate.setText(df.format(c.getTime())); c.add(Calendar.YEAR, 40); txtrdate.setText(df.format(c.getTime())); I have attached the video tutorial below it will help you  to do this  step by step.  

Retirement date Calculating System Java Read More »