More Simple Applets


Task 1 : Create a blue object called 'ObjectA' which has font: "Dialog" (PLAIN,10) for its four lines of text.

Answer :


Task 2 : Create a dragable red object called ObjectB which is a circle

Answer :


Task 3 : Create a scrollable canvas (vertically and horizontally) and put ObjectA and a yellow ObjectB into it.

Once this is accomplished, you should make it so you are able to move ObjectB inside the canvas, and move the canvas with the scroll bars to move both objects in and out of view.

Answer :