- Interview Questions and Answers for 'Java gui' | Search Interview Question - javasearch.buggybread.com

Search Interview Questions

 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text


- Interview Questions and Answers for 'Java gui' - 1 question(s) found - Order By Newest

 Q1. Develop a simple paint like program using applets ?
Ans. Follow the below steps:

1- import the required class and packages.
2- create a class Drawtest for creating an applet.
3- initialize panles and controls int the init() method.
4- Define the destroy() method to destroy the same.
5- create an instance for draw test class and call the init(0 and start() methods in the main method)).
6- Add a new frame to the applet window and resize it to 300x300.
7- Declare a method get applet infor to display the applet information.
8- Declare two constants LINES , POINTS which are going to be the modes.
9- Define the paint method and perfoem the required operations.
10- Display the result according to the mode selected.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     applets   java gui   java ui

Related Questions

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: