This is a simple Java Swing application that allows users to convert currency between Indian Rupees (INR) and United States Dollars (USD). It provides a graphical user interface (GUI) for users to enter values and perform currency conversion.
- Converts INR to USD and vice versa based on predefined exchange rates.
- Simple and user-friendly GUI for input and output.
- Java Development Kit (JDK) installed on your machine.
- An Integrated Development Environment (IDE) such as IntelliJ IDEA or Eclipse.
- Open the project in your preferred IDE.
- Locate the
convert
class and run themain
method. - The application window will appear, allowing you to enter values and perform conversions.
- Enter the amount in either the "Rupees" or "Dollars" text field.
- Click the "INR" button to convert from Rupees to Dollars.
- Click the "USD" button to convert from Dollars to Rupees.
- The converted amount will be displayed in the corresponding text field.
- Click the "Done with it!" button to close the application.
- The exchange rates are predefined and set as constants in the
convert
class. You can modify these rates based on the current market values.
[Yashraj Tarte]
Feel free to explore and modify the code to suit your needs!