java project step by step

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 »

Java Simple Movie Ticket System Project

The Movie Ticket System system is developed using Java. This project is suitable for java beginners who wants to improve java skills. [adToAppearHere] Paste the code Inside the Add Button txtcount.setText(“”); int numbers = Integer.parseInt(txtticket.getText()); int tot = numbers * 20; txttotal.setText(String.valueOf(tot)); for(int x=1; x <= numbers; x ++) { txtcount.setText(txtcount.getText()+”Your Ticket No ” + x + “\n” );

Java Simple Movie Ticket System Project Read More »