Java Swing Programming Interview Questions and Answers

Java Swing Programming Questions and Answers:

1 :: What are the advantages of the event-delegation model over the event-inheritance model?

Event-delegation model has two advantages over event-inheritance model. a)Event delegation model enables event handling by objects other than the ones that generate the events. This allows a clean separation between a component's design and its use. b)It performs much better in applications where many events are generated. This performance improvement is due to event-delegation model does not have to be repeatedly process unhandled events as is the case of the event-inheritance.
0/5 Rating (0 vote)
Is This Answer Correct?    1 Yes 0 No
Place Your Answer

2 :: What is an event and what are the models available for event handling?

Changing the state of an object is called an event. An event is an event object that describes a state of change. In other words, event occurs when an action is generated, like pressing a key on keyboard, clicking mouse, etc. There different types of models for handling events are event-inheritance model and event-delegation model
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

3 :: Which method is used for setting security in applets?

setSecurityManager()
Method is used for setting security in applets
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

4 :: What is the lifecycle of an applet?

init( ) method - called when an applet is first loaded start( ) method - called each time an applet is started paint( ) method - called when the applet is minimized or maximized stop( ) method - called when the browser moves off the applet's page destroy( ) method - called when the browser is finished with the applet
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

5 :: When we should go for codebase in applet?

If the applet class is not in the same directory, codebase is used.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

Rate This Category:
0/5 Rating (0 vote)
Place Your Question



Top: Java Swing Programming Interview Questions and Answers
Java Swing Programming Interview Questions and Answers

Top Frequently Asked Java Swing Programming Question
Frequently Asked Java Swing Programming Job Interview Question


Top Frequently opened Java Programing Job Interview categories
Most popular Java Programing Job Interview categories

Comments About Java Swing Programming Interview Questions and Answers

Share your valuable opinions, ideas and suggestions about Java Swing Programming Interview Questions and Answers
While placing your comment your email address is required but won't be published any where else; Personal information will be kept confidential; we do not sell or release our respective visitors private information.
  1. Webmaster 23rd of May 2012

    Webmaster Said

    Tell us what you feel about Java Swing Programming Interview Questions and Answers
    All comments will be published after review. No login or registration is required to post a comment on Java Swing Programming Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
    So start sharing your thoughts regarding Java Swing Programming Interview Questions and Answers
    Thank you.

Leave a Comment

Leave a Comment
  1.  Enter This Verification Code  Regenerate Verification Code  



Your reply will be added to the comment above (Below any other replies to this comment) -

Top Comments About: Java Swing Programming Interview Questions and Answers
Comments on Java Swing Programming Interview Questions and Answers

 
Top of Link batk to Java Swing Programming Interview Questions and Answers
Link batk to Java Swing Programming Interview Questions and Answers