The Complete Project Source Code Platform

Kashipara.com is a community of ONE million programmers and students, Just like you, Helping each other.Join them. It only takes a minute: Sign Up

Job Resume Template

popular java swing Job Interview Questions And Answers


Why don't preparation your interviews. Best and top asking questions java swing questions and answers. Prepare your job java swing interview with us. Most frequently asked questions in java swing interview. Top 10 most common java swing interview questions and answer to ask. java swing most popular interview question for fresher and experiences. We have good collection of java swing job interview questions and answers. Ask interview questions and answers mnc company.employee ,fresher and student. java swing technical questions asking in interview. Complete placement preparation for major companies tests and java swing interviews,Aptitude questions and answers, technical, interview tips, practice tests, assessment tests and general knowledge questions and answers.


Free Download java swing Questions And Answers Pdf.


popular java swing FAQ java swing Interview Questions and Answers for Experiences and Freshers.



What is difference between invokeAndWait and invokeLater?

invokeAndWait(Runnable r) and SwingUtilities.invokeLetter(Runnable r) though there are quite a few differences between these two, major one is invokeAndWait is a blocking call and wait until GUI updates while invokeLater is a non blocking asynchronous call. In my opinion these question has its own value and every swing developer should be familiar with these questions or concept not just for interview point of view but on application perspective. you can read more on my post  How InvokeAndWait and InvokeLater works in Swing

java swing   jayvik 2014-04-04 05:55:07

What is Event-Driven-Thread (EDT) in Swing?

Event-Driven-Thread or EDT is a special thread in Swing and AWT. Event-Driven Thread is used to draw graphics and listen for events in Swing. You will get a bonus point if you able to highlight that time consuming operations like connecting to database, opening a file or connecting to network should not be done on EDT thread because it could lead to freezing GUI because of blocking and time consuming nature of these operations instead they should be done on separate thread and EDT can just be used to spawn those thread on a button click or mouse click.

java swing   jayvik 2014-04-04 05:51:59

Why Swing components are called lightweight component?

AWT components are associated with  native screen resource and called heavyweight component while Swing components is uses the screen resource of an ancestor instead of having there own and that's why called lightweight or lighter component.

java swing   jayvik 2014-04-04 05:53:49

Prediction of output of code?

This type of question is based upon how well you understand and visualize the code. Whether you are familiar with default layout manager of various component classes or not e.g. default layout of JFrame is BorderLayout. So do some practice of these kinds of java Swing interview questions as well?

java swing   jayvik 2014-04-04 06:12:40

What are differences between Swing and AWT?

One of the classic java swing interview questions and mostly asked on phone interviews. There is couple of differences between swing and AWT:

1) AWT component are considered to be heavyweight while Swing component are lightweights
2) Swing has plug-gable look and feel.
3) AWT is platform depended same GUI will look different on different platform while Swing is developed in Java and is platform dependent.

java swing   jayvik 2014-04-04 05:53:13

Write code for JTable with custom cell editor and custom cell renderer?

JTable is one of favorite topic of all Swing interviews and most popular questions on swing interviews are from JTable why? Because here interviewer will directly asked you to write code another reason is JTable heavily used in all Electronic trading GUI. GUI used for online stock trading uses JTable to show data in tabular format so an in depth knowledge of JTable is required to work on online trading GUI developed in Swing. While this question is just an example questions around JTable are mostly centered around updating table, how do you handle large volume of data in table, using customize cell renderer and editor, sorting table data based on any column etc. so just make sure you have done quite a few handsone exercise on JTable before appearing for any java swing interview in IB.

java swing   jayvik 2014-04-04 05:57:21

How do you handle opening of database, file or network connection on a click of button?

answer is you should not do this operation in EDT thread instead  spawn a new thread from actionListener or button and disable the button until operation gets completed to avoid resubmitting request. Only condition is that your GUI should always be responsive no matter what happens on network connection or database connection because these operations usually take time.

java swing   jayvik 2014-04-04 06:11:59

Does Swing is thread safe? What do you mean by swing is not thread-safe?

Though it’s pretty basic many developer doesn't understand thread-safety issue in Swing. Since Swing components are not thread-safe it means you can not update these components in any thread other than Event-Driven-Thread. If you do so you will get unexpected behavior. Some time interviewer will also ask what are thread-safe methods in swing which can be safely called from any thread only few like repaint() and revalidate().

java swing   jayvik 2014-04-04 05:52:39

Write code to print following layout (mainly focused on GridBag layout)?


GridBagLayout in swing is most powerful but at same time most complex layout and a clear cut experience and expertise around GridBagLayout is desired for developing Swing GUI for trading systems. No matter whether you are developing GUI for equities trading, futures or options trading or forex trading you always required GridBagLayout. Swing interview question on GridBagLayout will be mostly on writing code for a particular layout just like an example shown here. In which six buttons A, B, C, D, E and F are organized in certain fashion.

java swing   jayvik 2014-04-04 06:10:58




popular java swing questions and answers for experienced


java swing best Interview Questions have been designed especially to get you acquainted with the nature of questions you may encounter during your interview for the subject of java swing Programming Language. here some questions that helpful for your interview. java swing 2024 job interview questions with answers. java swing for employee and fresher. Here we present some more challenging practice java swing interview questions and answers that were asked in a real interview for a java swing developer position. These questions are really good to not just test your java swing skills, but also your general development knowledge. java swing programming learning. we hope this java swing interview questions and answers would be useful for quick glance before going for any java swing job interview.