java programming

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 »

Currency Converter Using Java

This tutorial will teach you how to make make a Currency Converter Using Java step by step. Paste the below the code inside the convert button. private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { Double tot; Double amount = Double.parseDouble(txtamount.getText()); if(txtfrom.getSelectedItem().toString() == “USD” && txtto.getSelectedItem().toString() == “Srilankan Rupees”) { tot = amount * 179.50; JOptionPane.showMessageDialog(this, “Your Amount will

Currency Converter Using Java Read More »