JAVA SWING (FAQS) Programming Interview Questions [71 Questions]

  1. In jTable How to set background color for particular rows based on some conditions?
  2. Why swing is called as light weighted component?
  3. how to assign different reference into an another reference.suppose i have 4 JFrames in my project and i want to use single JDialog for all the JFrames, in such situation i have to pass the current JFrame class ie "this" keyword , the problem to receive different reference in the same class in different JFrames.
    I have already tried by using Object class ,but it was not accepted
    my be through abstract classes or interfaces
  4. What do you mean by content pane, root pane and scroll pane? What are its use?
  5. what is the difference between Applet and Frame in java?
  6. You must first Login or Register to view all 71 questions from this category.


    Registering yourself is FREE, takes just less than a minute and opens up a whole new GetGyan experience.