Tuesday, June 06, 2006

Java Swing interview preparation

Swing, The library from Java to create rich desktop applications. What most of the companies ask during interview on swing ?.
Here are some points to be noticed by all swing programmer who is preparing for an interview.

  • MVC Framework and how it works with Swing
  • All JTable related question like Table Model, Table cell renderer, Table header etc.
  • All JTree related questions like Tree Model, Tree events
  • Questions related to Event delegation Model
  • Difference between Swing and AWT
  • Layout Manager( Most favourite is GridBagLayout)

    These are some topics , if one can cover very well, he can easliy crack any swing interview.
    Layout manager is the topic you will sure get questions in interview. The one that is the favourite among interviewer is GridBagLayout, Because a normal swing programmer always avoid it because of it's complexity, But once you get into it. It will not be hard any more.
    Difference between Swing and Awt is not a big topic to cover. Just some points need to remember. Swing is Light weight and Awt is heavy weight. If you give this answer, You need to explain what is heavy weight and what is light weight.
    JTable, It's very important component from the point of view of interview. JTable has lot's of things to know like creating your own model to give data to the JTable. Use a check box in a column in JTable.
    MVC( Model-View-Controller) framework, Not exactlly work on Swing components, but an alteration of this works with Swing. We call it Model- delegate . Where delegate is the combination of view and controller. Interviewer always ask questions about MVC. How this works with components from JButton to JTree.

    For sure sucess in swing interview, these topics should be well prepared.

  • 1 comments:

    java4all said...

    You can get the best swings interview questions on
    http://java4all.info/swings/swings1.html

    Daily Technology Tips

    Catch me at Mashable

    PayPal

    Sign up for PayPal and start accepting credit card payments instantly.

    Blog Explosion


    Bloglines

    Blogrush


    BlogsByCategory.com