Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PLEASE TYPE ONLY*** PLEASE USE DRAWING PANEL**** USE public static void main(String[] args) FOR BOTH*** PLEASE MAKE ANSWER LOOK LIKE OUTPUT ANSWER*** Program #2 Finish
PLEASE TYPE ONLY***
PLEASE USE DRAWING PANEL****
USE public static void main(String[] args) FOR BOTH***
PLEASE MAKE ANSWER LOOK LIKE OUTPUT ANSWER***
Program #2 Finish the following programming project. An output picture will be like the following. A scanned copy of the project description is also attached. Programming Projects 1. Write a program that draws the patterns shown in Figure 36.33 onto a DrawingPanel. 13 y Panel Figure 36.33 The DrawingPanel's size is 400 x 400 pixels and its background color is cyan. It contains four figures of concentrie yellow circles with black outlines, all surrounded by a green rectangle with a black outline. The four figures on your Drawing Panel should have the properties shown in Table 3G.7. Table 3G.7 Circle Figure Properties Number Number of Description (x,y) position Size of subfigures of circles rows/cols (0,0) 100 x 100 (10, 120) 24 x 24 5x5 top right (150, 20) 40 x 40 bottom right (130,275) 36 x 36 3x3 top left 5 1x1 bottom left 4 5 3 6 X 6 Break down your program into methods for drawing one subfigure as well as larger grids of subfigures, such as the 5 x 5 grid at (10, 120). Program #1: program of a game of Tic-Tac-Toe that represents the board by using of 2D Array. Play the game 1 time for 2 players; Show who the winner is (Player 1, Player 2, or Draw) Name the program as TicTac.java, a screen output will be similar to the following. Welcome to play Tictactoe game! We have the following 3x3 empty board. : - Enter the row index Enter the column index: i Enter the row index: @ Enter the column index: 1 Enter the row index: 1 Enter the column index: 1 : Enter the row index: B Enter the column index: 2 I X o o I Enter the row index: 2 Enter the column index: 2 I x1010 We have a winner! Congrats! E:\temp\java \hw3>Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started