Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Which Swing layout manager uses a grid, but allows selected grid locations to span multiple rows or columns? I GridBagLayout II BorderLayout III GridLayout

1.

Which Swing layout manager uses a grid, but allows selected grid locations to span multiple rows or columns?

I GridBagLayout

II BorderLayout

III GridLayout

a.Only II
b.Only I
c.I and III
d.Only III

2.

What is the best first step in picking the layout managers for a set of nested panels?

a.use multiple panels with FlowLayout managers
b.construct a set of JPanel objects
c.use a single panel with a GridBagLayout manager
d.make a sketch of the layout

3.

In an online job application, applicants have to submit a cover letter by typing it into a given text box. Which Swing component would be most appropriate for this text box?

a.JTextComponent
b.JTextField
c.JTextArea
d.JLabel

4.

Which of the following would be an appropriate use of radio buttons when ordering a pizza?

a.Customer's name
b.Pick-up/Delivery
c.Types of sides
d.Topping choices

5.

A complex GUI can be created with a set of nested containers. What should determine the components that go into a single container?

a.the adjacency of the components
b.the size of the components
c.the names of the components
d.the type of components

6.

In Swing, what is the general purpose container normally used at each level of a hierarchy of components and other containers, with layouts at each level?

a.JMenu
b.JPanel
c.Containers aren't normally nested
d.JFrame

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Objects And Databases International Symposium Sophia Antipolis France June 13 2000 Revised Papers Lncs 1944

Authors: Klaus R. Dittrich ,Giovanna Guerrini ,Isabella Merlo ,Marta Oliva ,M. Elena Rodriguez

2001st Edition

ISBN: 3540416641, 978-3540416647

Students also viewed these Databases questions

Question

8-2 What is the business value of security and control?

Answered: 1 week ago