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, 21.06.2019 16:30
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 2
question
Computers and Technology, 22.06.2019 20:10
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Pl i need the answer now ! which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Will this setup result in what kathy wants to print?
Answers: 2
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, 08.10.2019 02:30
question
Health, 08.10.2019 02:30
question
Social Studies, 08.10.2019 02:30