Search Header Logo

CS26L 3RD EXAM

Authored by PRINCESS SALARZA

Computers

University

Used 4+ times

CS26L 3RD EXAM
AI

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 BLANK 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.

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

is a software intermediary that allows two applications to talk to each other

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();

}}

Media Image
Media Image
Media Image
Media Image

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 BLANK QUESTION

1 min • 1 pt

API stands for

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

-          (blank) inherited the properties of JComponent class and implemented them with an Accessible interface.

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Creates acolor chooser pane with the specified initial color.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?