java step by step

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 »

Advanced Employee Salary System Using Java

This tutorial will teach you Advanced Employee Salary Calculation System Using Java step by step. Paste the code inside the cal button double empname,sal,etf,epf,etfamount,epfamount,gsal,allow,nsal; private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { sal = Double.parseDouble(txtsal.getText()); if(chketf.isSelected()== true) { etfamount = sal * 10/100; } if(chketf.isSelected()== true) { epfamount = sal * 5/100; } txtetf.setText(String.valueOf(etfamount)); txtepf.setText(String.valueOf(epfamount)); gsal = sal

Advanced Employee Salary System Using Java Read More »

CRUD Operations in Java using JDBC and MySQL (With Code Examples)

If you are looking for how to develop a Java application that connects with a MySQL database and performs basic operations such as Create, Read, Update, and Delete, then you are in the right place. Here you will learn Java Database Connectivity (JDBC) step by step with examples. We will be using JDBC, Java, and MySQL, which are very popular for use in Java mini projects. What is CRUD? CRUD stands for Create, Read, Update, and Delete. These four actions are

CRUD Operations in Java using JDBC and MySQL (With Code Examples) Read More »

Calculating manpower project using java

This tutorial will teach you how to alculating manpower project using java. Paste the code inside the Cal Button double projectdays,projecthours,works,tot; projectdays = Double.parseDouble(txtdays.getText()); projecthours = Double.parseDouble(txthours.getText()); projectdays = Double.parseDouble(txtemp.getText()); tot = projectdays * projecthours * projectdays; txttot.setText(String.valueOf(tot)); Paste the code inside the Exit Button System.exit(0);  

Calculating manpower project using java Read More »