subject

Look at the following frame code: 1 2 import javax. swing. *; import java. awt.*; public class GraphicsTest extends JFrame 3 4 { 5 public Graphics Test() 6 { 7 getContentPane ().setBackground (Color. WHITE); 8 } 9 public void paint (Graphics g) 10 { 11 12 13 super. paint (g); g. setColor (Color. YELLOW); g. filloval (100, 100, 50, 50); g. setColor (Color. BLACK); g. setFont (new Font ("Sans Serif", Font. BOLD, 35)); g. drawstring ("SLOW", 110, 110); 14 5 1 1 6 } 17 18 public static void main(String[] args) 19 { 20 Graphics Test f = new Graphics Test(); 21 } 22 1 What shape will the oval have? a) Oblong, width greater than height b) Oblong, width less than height c) Circle Cannot tell

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
What is outfitting a workplace with video in a technology
Answers: 2
question
Computers and Technology, 23.06.2019 00:00
Donna and her team of five have invented a new gadget for the science exhibition in their college. which intellectual property right will protect their invention?
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
What is a programming method that provides for interactive modules to a website?
Answers: 1
question
Computers and Technology, 24.06.2019 00:40
What social factors affect your health
Answers: 3
You know the right answer?
Look at the following frame code: 1 2 import javax. swing. *; import java. awt.*; public class Graph...
Questions
question
Mathematics, 10.02.2021 17:40
question
Mathematics, 10.02.2021 17:40
question
Chemistry, 10.02.2021 17:40
question
Mathematics, 10.02.2021 17:50
Questions on the website: 13722359