Question: Look at the following applet code: import javax.swing. * ; import java. aut. * ; public class GraphicsTest extends JApplet 5 public void init (

Look at the following applet code:
import javax.swing. *;
import java. aut.*;
public class GraphicsTest extends JApplet
5
public void init ()
7
getContentPane (). set Background (Color . WHITE) :
9011121314151617
public void paint (Graphics g)
super. paint (g) :
g. setColor (Color. YELLOW) ;
g.{1110val (100,100,50,50) :
g. setColor (Color. BLACK) :
g. setFont (new Font ("SansSerif", Font. BOLD, 35)) :
g. drawString ("SLOU",110,110) :
18)
What will be the coordinates of the center of the oval?
O (50,50)
(125,125)
O (100,50)
(100,100)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!