... RECTAPPLET .JAVA: Drawing Rectangles.import java. awt.*;import java. applet.*;public class RectApplet extends Applet{ public void paint(Graphics g) { g.drawRect( 35, 15, 1 25, 200); g.fillRoundRect (50 , ... line gets drawn from 35, 50 to 150 ,80. Because all the lines in a polygon areconnected, Java can continue drawing lines by using the previous ending point (in this case, 150 ,80) andthe next coordinate ... of code. Thisdecision-making process is as important to computer programming as pollen is to a bee. Virtually no usefulprograms can be written without it.When a program breaks the sequential...