Question: a) Explain [ScrollPane container as one of the components and its conditions for displaying both horizontal and vertical scroll. [4 marks b) Write an

a) Explain [ScrollPane container as one of the components and its conditions

a) Explain [ScrollPane container as one of the components and its conditions for displaying both horizontal and vertical scroll. [4 marks b) Write an applet program that can be used to produce the following user interface. [6 marks] Student Grading System Student Name Subject One Subiect Two Average Marks Get Grade c) Differentiate between polymorphism and method overriding in java programs. [1 mark] QUESTION TWO a) Write a java program that can be used to compute the area of rectangle given the length and width. The program should have a class named Rectangle with instance variables length and width.methods compute Area and getPerimeter.two constructors and destructors. Define objects so that to use object reference to call the methods and print the results in appropriate dialog boxes. [5 marks]. d) Explain Events in java programming, briefly explain any three event class types in Java language. [6marks]Write e) a snippet to demonstrate the use of the following checkboxes. [8 marks] Applet Viewer: CheckboxTest.class Applet Shoes Socks Pants Vest Shirt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a ScrollPane Container A ScrollPane container is used in Java to provide scrolling capabilities for components that exceed the visible area of the con... View full answer

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!