
CS26L 3RD EXAM
Authored by PRINCESS SALARZA
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
79 questions
Show all answers
1.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
The object of (blank) class is a single line input field that allows the user to select a number or an object value from an ordered sequence.
(a)
2.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
is a software intermediary that allows two applications to talk to each other
(a)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import java.awt.*;
import javax.swing.*;
public class PanelExample {
PanelExample(){
JFrame f= new JFrame("Panel Example");
JPanel panel=new JPanel();
panel.setBounds(40,80,200,200);
panel.setBackground(Color.gray);
JButton b1=new JButton("Button 1");
b1.setBounds(50,100,80,30);
b1.setBackground(Color.yellow);
JButton b2=new JButton("Button 2");
b2.setBounds(100,100,80,30);
b2.setBackground(Color.green);panel.add(b1);
panel.add(b2);
f.add(panel);
f.setSize(400,400);
f.setLayout(null);
f.setVisible(true);
}
public static void main(String args[]){new PanelExample();
}}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
- To change−the look and feel of the frame.
JFrame.setDefaultLookAndFeelDecorated(true);
UIManager.getCrossPlatformLookAndFeelClassName()
UIManager.setLookAndFeel()
5.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
API stands for
(a)
6.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
- (blank) inherited the properties of JComponent class and implemented them with an Accessible interface.
(a)
7.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
Creates acolor chooser pane with the specified initial color.
(a)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?