Chapter 1 5
Chapter 1 5
The concept of the menu bar canbe implemented by using three java
114 1 N R 1 All of these
classes—
The default layout manager for the content pane of a swing based
117 1 N R 1 Border-Layout
applet is
120 The method setLabel can be used with what type of Object ? 1 N R 1 TextField.
121 The method ____gets the text of the button jtb is 1 N R 1 jtb.getText( )
122 the method _________ places a menu mu into a menu bar mb. 1 N R 1 mb.add(mu)
127 The string parameter to the JButton constructor 1 N R 1 tells what text will appear on the button
129 The syntax for drawRect() method is 1 N R 1 drawRect(int top, int left, int width, int height)
132 The various controls supported by swing are: 1 N R 1 all of the above
135 The _____________ class is used to create radio button in AWT 1 N R 1 CheckboxGroup
138 To create window with title bar which of the following class is used? 1 N R 1 Frame