Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A) Displaying a 3x3 grid Write a program that displays a 3 x 3 grid, Use red col

ID: 3619054 • Letter: A

Question

A) Displaying a 3x3 grid
Write a program that displays a 3 x 3 grid, Use red color forvertical lines and blue color for horizontal.



B) Develop a custom button class named OvalButton that extendsJButton and displays the button text inside an oval.



C) Displays a checkerboard in which each white and black cell is aJButton. Rewrite a program that draws a checkerboard on a JPanelusing the drawing methods in the Graphics class.


D) Write a program that displays a multiplication table in a panelusing the drawing methods.



THANK YOU FOR WHOEVER ANSWERS
3 Points!


Explanation / Answer

please rate - thanks CRAMSTER rule-1 question per post. this is 4 questions question A-you weren't very specific, I did an Japplet import javax.swing.JApplet; import java.awt.*; import java.util.Random; public class grid extends JApplet { public void paint(Graphics g)    {int j,k,num1,num2,num3;    g.drawRect(0,0,300,300);    g.setColor(Color.red);    g.drawLine(100,0,100,300);    g.drawLine(200,0,200,300);    g.setColor(Color.blue);    g.drawLine(0,100,300,100);    g.drawLine(0,200,300,200);        } }

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote