A simple Java Swing application to swap text between two input fields.
- User-friendly GUI with text input fields.
- Swap button to interchange text between the input fields.
- Result label displays the swapped text.
- Responsive design with
javax.swing
components.
- Clone the Repository:
git clone https://github.com/your-username/TextSwapper.git
- Compile and Run:
bash cd TextSwapper javac SwapIt.java java SwapIt
Enter text in the "First text" and "Second text" fields. Click the "Swap" button to interchange the text. The result label displays the swapped text.
Java SE Development Kit (JDK) Swing library (included in Java standard library)