Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
41 views

Homework Java GUI

This homework assignment involves creating a Java GUI program with a frame containing a text field, label, and 3 buttons. Button 1 checks if the text is a palindrome. Button 2 displays the string length. Button 3 shows the student's name and ID. The second part is to create a calculator that can square, cube, take the logarithm, and square root of a single operand.

Uploaded by

Done Kita
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Homework Java GUI

This homework assignment involves creating a Java GUI program with a frame containing a text field, label, and 3 buttons. Button 1 checks if the text is a palindrome. Button 2 displays the string length. Button 3 shows the student's name and ID. The second part is to create a calculator that can square, cube, take the logarithm, and square root of a single operand.

Uploaded by

Done Kita
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Programming Languages

JAVA GUI
(+ create .exe versions)
Homework 1

Create a frame in which there will be a


text field, a label, and 3 buttons.
Button 1: tests whether the text in the text box is a palindrome
Button 2: Displays the length of the input string
Button 3: Displays your name and ID in the label

2
Homework 2

Create a calculator that will


perform operations on a single
operand:

-Square
-Cube
-Logarithm
-Square root
3

You might also like