Core Java

Swing Interview Questions And Answers


Totel:91 Click: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Swing Interview Questions And Answers

Page 1

The List LayoutManagers :

> Flow Layout Manager
> Grid Layout Manager
> Box Layout Manager
> Border Layout Manager
> Card Layout Manager
> GridBag Layout Manager.

The Key point is that the paint() method invokes three methods in the following order:

> PaintComponent()
> paintBorder()
> paintChildren()

As a general rule, in Swing, we should be overriding the paintComponent method unless we know what we are doing paintComponent() paints only component (panel) but paint() paints component and all its children.

The Elements of a GridBagLayout are organized according to a grid. However, the elements are of different sizes and may occupy more than row or column of the grid. 

In addition, the rows and columns may have diff sizes.

The Elements of a BorderLayout are organized at the borders(North, South, East and West) and the center of a container.

A Canvas object provides access to a graphics object via its paint() method.


Goto Page:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Swing Objective Questions And Answers

Swing Objective Questions And Answers

Swing Interview Questions And Answers

Swing Subjective Questions And Answers


R4R,Swing Objective fresher and experienced, Swing Subjective fresher and experienced ,Swing Interview Questions And Answers,Swing fresher and experienced,Swing Interview fresher and experienced ,Swing Questions fresher and experienced,Swing Answers fresher and experienced