OOPS Lab-8 [ GUI Programming]

Post date: Nov 27, 2017 11:30:38 AM

1. Write a complete Java program using Swing GUI functions to read a string in JTextField1. When Ok JButton is clicked, it should check if the string is a palindrome and display true or false in the JTextField2.

2. Write a complete Java program using Swing GUI functions to read 2 integer numbers in JTextField1 and JTextField2. When Ok JButton is clicked, it should display sum, difference, prod and div (integer division) in the JTextField3.