Coders Packet

Currency Converter in Java using Netbeans

By Kritika Tiwari

A Currency Converter built using core java by using AWT which can be implemented simply to convert between INR and Dollar.

Here we have built a Graphical User Interface in java that requires the use of swing.

A Swing is a powerful tool that contains many functionalities, it is platform-independent and, light-weight.

A Currency Converter includes the conversion between Rupees and Dollar. Here we use functionalities like two JTextField, three JButton and, three JLabel. 

The functionalities of the three buttons are provided using ActionListener. To perform any action to these JButtons event handling is done. To perform this action, a method actionListener is used. It takes string values from the JTextField and mathematical calculations are performed after converting them to double. 

Download Complete Code


  • Aakash :

    Good project

  • Reply to this comment