Question: Create a GUI called Numbers GUI (by extending JFrame as shown in looture). The Number GUI should have a GridLayout of three rows and three
Create a GUI called Numbers GUI (by extending JFrame as shown in looture). The Number GUI should have a GridLayout of three rows and three columns For the numbers 1 to 100, fill the numbers into the "cells" of the GridLayout so that the first cell (top left or cell (1.1)) contains those numbers that are evenly divisible by 2. Cell (1.2) those that are evenly divisible by 3, cell [1,31'those that are evenly divisible by 4, cell (2.1) those that are evenly divisible by 5 and so forth. Obviously, one number may appear in more than one cell For example, here are the cells filled in with the numbers 1 to 10. OAN 3 6 9 2 4 6 8 10 5 10 100 9 10 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
