Title: java swing online training
1For Free Demo Ph1(210)503-7100 For Details
Radiantits.com
21.What are variations between Swing and
AWT? There is number of variations between swing
and AWT. AWT element square measure thought of to
be heavyweight whereas Swing element square
measure lightweights. Swing has plug gable look
and feel. AWT is platform dependent same user
interface can look totally different platform
whereas Swing is developed in Java and is
platform dependent.
For Free Demo Ph1(210)503-7100 For Details
Radiantits.com
32. Why Swing elements square measure referred to
as light-weight component? AWT element square
measure related to native screen resource and
referred to as heavyweight element. Whereas Swing
elements is uses the screen resource of A
relation rather than having their own and that is
why referred to as light-weight or lighter
element.
For Free Demo Ph1(210)503-7100 For Details
Radiantits.com
43. what's the distinction between a scrollbar and
a scrollpane? A Scrollbar is simply an element,
however not a container. A Scrolpane could be a
container. A Scrollpane handles its own events
and performs its own scrolling.
For Free Demo Ph1(210)503-7100 For Details
Radiantits.com
54.What's an instrumentality in an exceedingly
GUI? A container contains and arranges different
elements (including different container) through
the employment of layout managers, that use
specific layout policies to see wherever elements
ought to go as a operate of the dimensions of the
instrumentality.
For Free Demo Ph1(210)503-7100 For Details
Radiantits.com
65.what's the distinction between a Window and a
Frame? The Frame extends Window to outline a main
application window which will have a menu bar.
For Free Demo Ph1(210)503-7100 For Details
Radiantits.com
76. what's the distinction between the paint ()
and repaint () methods? The paint () methodology
supports painting via a Graphics object. The
repaint () methodology is employed to cause paint
() to be invoked by the AWT painting thread.
For Free Demo Ph1(210)503-7100 For Details
Radiantits.com
87.what's the difference between the Font and
FontMetrics classes? The FontMetrics category is
employed to outline implementation specific
properties, like ascent and descent of a Font
object.
For Free Demo Ph1(210)503-7100 For Details
Radiantits.com
98.However will a user interface element handle
its own events? An element will handle its own
events by implementing the specified event
observer interface and adding itself as its own
event observer.
For Free Demo Ph1(210)503-7100 For Details
Radiantits.com
109.That package has lightweight weight
component? Javax.Swing package contains
lightweight weight elements. All elements in
Swing, except jApplet, JDialog, JFrame and
JWindow square measure light-weight elements.
For Free Demo Ph1(210)503-7100 For Details
Radiantits.com
1110.what's the popular size of a component? The
popular size of an element is that the minimum
element size that may permit the element to show
ordinarily.
For Free Demo Ph1(210)503-7100 For Details
Radiantits.com
12For Free Demo Ph1(210)503-7100 For Details
Radiantits.com