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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:30, silasjob09
Jenny wants to look at row 345 and compare it to row 17. what can she do if she wanted to easily adjust to see both at once?
Answers: 3
image
Computers and Technology, 22.06.2019 10:40, StephiUnicorni
When running anti-virus software , what could be a reason where recipitent is not guaranteed that data being streamed will not get interrupted?
Answers: 1
image
Computers and Technology, 23.06.2019 01:50, jumoke26
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors. java.
Answers: 2
image
Computers and Technology, 23.06.2019 11:30, magicalpenguin48
In cell h5 enter a formula that will calculate the percentage of attendees that went to the altamonte springs job fair in 2018.
Answers: 1
You know the right answer?
Look at the following frame code: 1 2 import javax. swing. *; import java. awt.*; public class Graph...

Questions in other subjects:

Konu
Mathematics, 27.05.2020 02:02