Using Java, Create a JFrame application with a textfield and an OK button. The user types in a number, and presses “OK”, your application will get that text, convert it to an int, and display the square of that number in a messagedialog.
Using Java, Create a JFrame application with a textfield and an OK button. The user types in a number, and presses “OK”, your application will get that text, convert it to an int, and display the square of that number in a messagedialog.