SlideShare a Scribd company logo
1 Which component contains menus?
a. Menu button.
b. Title bar.
c. Menu bar.
d. Combo box.
2. Which of the following statements for a JTextField is false?
a. Can be used to display uneditable text.
b. Can be used to display editable text.
c. Enables users to enter data from the keyboard.
d. Displays a list of fields.
3. Which of the following statements about heavyweight components is false?
a. AWT components are not heavyweight components.
b. Several Swing components are heavyweight components.
c. The look-and-feel may vary across platforms.
d. The functionality may vary across platforms.
4. Which pair of words does not complete the sentence below correctly?
A ________ is a ________.
a. Container, Component.
b. Container, JPanel.
c. JComponent, Container.
d. Component, Object.
5. provides the basic attributes and behaviors of a window—a title bar at the top of the
window, and buttons to minimize, maximize and close the window.
a. JLabel.
b. JFrame.
c. JSwing.
d. JWindowControl.
6. Method can be used to set the layout manager of a container.
a. setManager.
b. setLayout.
c. setLayoutManager.
d. setGUILayout.
7. A JLabel can be attached to a JFrame using method:
a. attach.
b. contain.
c. append.
d. add.
8. A JRadioButton is different from a JCheckBox in that .
a. a JRadioButton is a subclass of JToggleButton, JCheckBox is not.
b. normally several JRadioButtons are grouped together and are mutually exclusive.
c. a JRadioButton is a type of button, JCheckBox is not.
d. a JRadioButton is a state button, JCheckBox is not.
9. The logical relationship between radio buttons is maintained by objects of what class?
a. MutualExclusionGroup.
b. RadioButtonGroup.
c. Group.
d. ButtonGroup.
10. Adding a ButtonGroup object to a container:
a. is necessary for the functionality of the ButtonGroup to work properly.
b. causes all the JRadioButtons in the group to have their event handlers registered.
c. results in a compilation error.
d. None of the above.
1 Which component contains menus?
a. Menu button.
b. Title bar.
c. Menu bar.
d. Combo box.
2. Which of the following statements for a JTextField is false?
a. Can be used to display uneditable text.
b. Can be used to display editable text.
c. Enables users to enter data from the keyboard.
d. Displays a list of fields.
3. Which of the following statements about heavyweight components is false?
a. AWT components are not heavyweight components.
b. Several Swing components are heavyweight components.
c. The look-and-feel may vary across platforms.
d. The functionality may vary across platforms.
4. Which pair of words does not complete the sentence below correctly?
A ________ is a ________.
a. Container, Component.
b. Container, JPanel.
c. JComponent, Container.
d. Component, Object.
5. provides the basic attributes and behaviors of a window—a title bar at the top of the
window, and buttons to minimize, maximize and close the window.
a. JLabel.
b. JFrame.
c. JSwing.
d. JWindowControl.
6. Method can be used to set the layout manager of a container.
a. setManager.
b. setLayout.
c. setLayoutManager.
d. setGUILayout.
7. A JLabel can be attached to a JFrame using method:
a. attach.
b. contain.
c. append.
d. add.
8. A JRadioButton is different from a JCheckBox in that .
a. a JRadioButton is a subclass of JToggleButton, JCheckBox is not.
b. normally several JRadioButtons are grouped together and are mutually exclusive.
c. a JRadioButton is a type of button, JCheckBox is not.
d. a JRadioButton is a state button, JCheckBox is not.
9. The logical relationship between radio buttons is maintained by objects of what class?
a. MutualExclusionGroup.
b. RadioButtonGroup.
c. Group.
d. ButtonGroup.
10. Adding a ButtonGroup object to a container:
a. is necessary for the functionality of the ButtonGroup to work properly.
b. causes all the JRadioButtons in the group to have their event handlers registered.
c. results in a compilation error.
d. None of the above.
Solution
1.
2. Displays a list of fields (d)
3. Several Swing components are heavyweight components (b)
4. Container, JPanel (b)
5. JFrame (b)
6. setLayout (b)
7. add (d)
8. normally several JRadioButtons are grouped together and are mutually exclusive. (b)
9. Button group (d)
10. results in a compilation error (c)
Because ButtonGroup object is not a component nd we can't add it to a container.

More Related Content

Similar to 1 Which component contains menusa. Menu button.b. Title bar.c.pdf

Flutter and Dart MCQS
Flutter and Dart MCQSFlutter and Dart MCQS
Flutter and Dart MCQS
MuhammadAli408757
 
Which of the following about radio button is correct a The.pdf
Which of the following about radio button is correct a The.pdfWhich of the following about radio button is correct a The.pdf
Which of the following about radio button is correct a The.pdf
sanjaychauhan1530
 
Graphical User Interface in JAVA
Graphical User Interface in JAVAGraphical User Interface in JAVA
Graphical User Interface in JAVA
suraj pandey
 
java swing
java swingjava swing
java swing
Waheed Warraich
 
Advanced java programming
Advanced java programmingAdvanced java programming
Advanced java programming
Kaviya452563
 
Lesson 11. The outline pane shares its portion of the screen wi.docx
Lesson 11. The outline pane shares its portion of the screen wi.docxLesson 11. The outline pane shares its portion of the screen wi.docx
Lesson 11. The outline pane shares its portion of the screen wi.docx
SHIVA101531
 
In java languageWhich of the following is falseA) A JPasswordFi.pdf
In java languageWhich of the following is falseA) A JPasswordFi.pdfIn java languageWhich of the following is falseA) A JPasswordFi.pdf
In java languageWhich of the following is falseA) A JPasswordFi.pdf
kellenaowardstrigl34
 
Csharp
CsharpCsharp
Csharp
vinayabburi
 
Swingpre 150616004959-lva1-app6892
Swingpre 150616004959-lva1-app6892Swingpre 150616004959-lva1-app6892
Swingpre 150616004959-lva1-app6892
renuka gavli
 
Swing and AWT in java
Swing and AWT in javaSwing and AWT in java
Swing and AWT in java
Adil Mehmoood
 
Advance Java Programming (CM5I) 2.Swing
Advance Java Programming (CM5I) 2.SwingAdvance Java Programming (CM5I) 2.Swing
Advance Java Programming (CM5I) 2.Swing
Payal Dungarwal
 
Java swing
Java swingJava swing
Java swing
ssuser3a47cb
 
Graphical User Interface (Gui)
Graphical User Interface (Gui)Graphical User Interface (Gui)
Graphical User Interface (Gui)
Bilal Amjad
 
21: Which method determines if a JRadioButton is selected?
21: Which method determines if a JRadioButton is selected?21: Which method determines if a JRadioButton is selected?
21: Which method determines if a JRadioButton is selected?sukeshsuresh189
 
Comp 328 final guide (devry)
Comp 328 final guide (devry)Comp 328 final guide (devry)
Comp 328 final guide (devry)sukeshsuresh189
 
6: Which of the following statements about creating arrays and initializing t...
6: Which of the following statements about creating arrays and initializing t...6: Which of the following statements about creating arrays and initializing t...
6: Which of the following statements about creating arrays and initializing t...sukeshsuresh189
 
Comp 328 final guide (devry)
Comp 328 final guide (devry)Comp 328 final guide (devry)
Comp 328 final guide (devry)sukeshsuresh189
 
10: In the Java graphics system, coordinate units are measured in ________.
10: In the Java graphics system, coordinate units are measured in ________.10: In the Java graphics system, coordinate units are measured in ________.
10: In the Java graphics system, coordinate units are measured in ________.sukeshsuresh189
 

Similar to 1 Which component contains menusa. Menu button.b. Title bar.c.pdf (20)

Flutter and Dart MCQS
Flutter and Dart MCQSFlutter and Dart MCQS
Flutter and Dart MCQS
 
Which of the following about radio button is correct a The.pdf
Which of the following about radio button is correct a The.pdfWhich of the following about radio button is correct a The.pdf
Which of the following about radio button is correct a The.pdf
 
Graphical User Interface in JAVA
Graphical User Interface in JAVAGraphical User Interface in JAVA
Graphical User Interface in JAVA
 
Graphic Programming
Graphic ProgrammingGraphic Programming
Graphic Programming
 
java swing
java swingjava swing
java swing
 
Advanced java programming
Advanced java programmingAdvanced java programming
Advanced java programming
 
Lesson 11. The outline pane shares its portion of the screen wi.docx
Lesson 11. The outline pane shares its portion of the screen wi.docxLesson 11. The outline pane shares its portion of the screen wi.docx
Lesson 11. The outline pane shares its portion of the screen wi.docx
 
In java languageWhich of the following is falseA) A JPasswordFi.pdf
In java languageWhich of the following is falseA) A JPasswordFi.pdfIn java languageWhich of the following is falseA) A JPasswordFi.pdf
In java languageWhich of the following is falseA) A JPasswordFi.pdf
 
14a-gui.ppt
14a-gui.ppt14a-gui.ppt
14a-gui.ppt
 
Csharp
CsharpCsharp
Csharp
 
Swingpre 150616004959-lva1-app6892
Swingpre 150616004959-lva1-app6892Swingpre 150616004959-lva1-app6892
Swingpre 150616004959-lva1-app6892
 
Swing and AWT in java
Swing and AWT in javaSwing and AWT in java
Swing and AWT in java
 
Advance Java Programming (CM5I) 2.Swing
Advance Java Programming (CM5I) 2.SwingAdvance Java Programming (CM5I) 2.Swing
Advance Java Programming (CM5I) 2.Swing
 
Java swing
Java swingJava swing
Java swing
 
Graphical User Interface (Gui)
Graphical User Interface (Gui)Graphical User Interface (Gui)
Graphical User Interface (Gui)
 
21: Which method determines if a JRadioButton is selected?
21: Which method determines if a JRadioButton is selected?21: Which method determines if a JRadioButton is selected?
21: Which method determines if a JRadioButton is selected?
 
Comp 328 final guide (devry)
Comp 328 final guide (devry)Comp 328 final guide (devry)
Comp 328 final guide (devry)
 
6: Which of the following statements about creating arrays and initializing t...
6: Which of the following statements about creating arrays and initializing t...6: Which of the following statements about creating arrays and initializing t...
6: Which of the following statements about creating arrays and initializing t...
 
Comp 328 final guide (devry)
Comp 328 final guide (devry)Comp 328 final guide (devry)
Comp 328 final guide (devry)
 
10: In the Java graphics system, coordinate units are measured in ________.
10: In the Java graphics system, coordinate units are measured in ________.10: In the Java graphics system, coordinate units are measured in ________.
10: In the Java graphics system, coordinate units are measured in ________.
 

More from fashiondestinationld

Determine if the following series or improper integrals are converge.pdf
Determine if the following series or improper integrals are converge.pdfDetermine if the following series or improper integrals are converge.pdf
Determine if the following series or improper integrals are converge.pdf
fashiondestinationld
 
Define the yield to maturity.SolutionYTM is the discount rate .pdf
Define the yield to maturity.SolutionYTM is the discount rate .pdfDefine the yield to maturity.SolutionYTM is the discount rate .pdf
Define the yield to maturity.SolutionYTM is the discount rate .pdf
fashiondestinationld
 
CPU has an ArithmeticLogic Unit (ALU). Which are true for ALUSel.pdf
CPU has an ArithmeticLogic Unit (ALU). Which are true for ALUSel.pdfCPU has an ArithmeticLogic Unit (ALU). Which are true for ALUSel.pdf
CPU has an ArithmeticLogic Unit (ALU). Which are true for ALUSel.pdf
fashiondestinationld
 
a) How many bit strings of length 6 are there which contain at least.pdf
a) How many bit strings of length 6 are there which contain at least.pdfa) How many bit strings of length 6 are there which contain at least.pdf
a) How many bit strings of length 6 are there which contain at least.pdf
fashiondestinationld
 
A group of legislators wanted to look at factors that affect the num.pdf
A group of legislators wanted to look at factors that affect the num.pdfA group of legislators wanted to look at factors that affect the num.pdf
A group of legislators wanted to look at factors that affect the num.pdf
fashiondestinationld
 
6. Why might The Home Depot and Lowes choose such odd dates to end.pdf
6. Why might The Home Depot and Lowes choose such odd dates to end.pdf6. Why might The Home Depot and Lowes choose such odd dates to end.pdf
6. Why might The Home Depot and Lowes choose such odd dates to end.pdf
fashiondestinationld
 
3 Diseases [10 marks] create two classes zika and Plague. Each of t.pdf
3 Diseases [10 marks] create two classes zika and Plague. Each of t.pdf3 Diseases [10 marks] create two classes zika and Plague. Each of t.pdf
3 Diseases [10 marks] create two classes zika and Plague. Each of t.pdf
fashiondestinationld
 
Chapter 16 Question 15 - Case StudyWhat can fish color tell us abo.pdf
Chapter 16 Question 15 - Case StudyWhat can fish color tell us abo.pdfChapter 16 Question 15 - Case StudyWhat can fish color tell us abo.pdf
Chapter 16 Question 15 - Case StudyWhat can fish color tell us abo.pdf
fashiondestinationld
 
CASE APPLICATION #3 Decision Making, Saudi Style appreciate the disti.pdf
CASE APPLICATION #3 Decision Making, Saudi Style appreciate the disti.pdfCASE APPLICATION #3 Decision Making, Saudi Style appreciate the disti.pdf
CASE APPLICATION #3 Decision Making, Saudi Style appreciate the disti.pdf
fashiondestinationld
 
You and another tech are discussing the relative merits of SCSI inte.pdf
You and another tech are discussing the relative merits of SCSI inte.pdfYou and another tech are discussing the relative merits of SCSI inte.pdf
You and another tech are discussing the relative merits of SCSI inte.pdf
fashiondestinationld
 
Which of the following is NOT true of reflexes They are involuntary.pdf
Which of the following is NOT true of reflexes  They are involuntary.pdfWhich of the following is NOT true of reflexes  They are involuntary.pdf
Which of the following is NOT true of reflexes They are involuntary.pdf
fashiondestinationld
 
What is this pedigree and example of Autosomal dominant autosomal .pdf
What is this pedigree and example of  Autosomal dominant  autosomal .pdfWhat is this pedigree and example of  Autosomal dominant  autosomal .pdf
What is this pedigree and example of Autosomal dominant autosomal .pdf
fashiondestinationld
 
what is total output in economicsSolutionWhat is total output .pdf
what is total output in economicsSolutionWhat is total output .pdfwhat is total output in economicsSolutionWhat is total output .pdf
what is total output in economicsSolutionWhat is total output .pdf
fashiondestinationld
 
What are the components of the prokaryotic and eukaryotic cells a.pdf
What are the components of the prokaryotic and eukaryotic cells a.pdfWhat are the components of the prokaryotic and eukaryotic cells a.pdf
What are the components of the prokaryotic and eukaryotic cells a.pdf
fashiondestinationld
 
The Software Quality plan and a Software Configuration Management pl.pdf
The Software Quality plan and a Software Configuration Management pl.pdfThe Software Quality plan and a Software Configuration Management pl.pdf
The Software Quality plan and a Software Configuration Management pl.pdf
fashiondestinationld
 
t distribution is a continuous distribution.TrueFalseSolutio.pdf
t distribution is a continuous distribution.TrueFalseSolutio.pdft distribution is a continuous distribution.TrueFalseSolutio.pdf
t distribution is a continuous distribution.TrueFalseSolutio.pdf
fashiondestinationld
 
Since this is a group discussion, each group has own conversation for.pdf
Since this is a group discussion, each group has own conversation for.pdfSince this is a group discussion, each group has own conversation for.pdf
Since this is a group discussion, each group has own conversation for.pdf
fashiondestinationld
 
REEF Activity Which of the following general transcriptions factors u.pdf
REEF Activity Which of the following general transcriptions factors u.pdfREEF Activity Which of the following general transcriptions factors u.pdf
REEF Activity Which of the following general transcriptions factors u.pdf
fashiondestinationld
 
Q2. Jay rents a room in his house to a college student. In the event.pdf
Q2. Jay rents a room in his house to a college student. In the event.pdfQ2. Jay rents a room in his house to a college student. In the event.pdf
Q2. Jay rents a room in his house to a college student. In the event.pdf
fashiondestinationld
 
Problem 5.7 Part A How do mammals, including humans, solve the dosa.pdf
Problem 5.7 Part A How do mammals, including humans, solve the dosa.pdfProblem 5.7 Part A How do mammals, including humans, solve the dosa.pdf
Problem 5.7 Part A How do mammals, including humans, solve the dosa.pdf
fashiondestinationld
 

More from fashiondestinationld (20)

Determine if the following series or improper integrals are converge.pdf
Determine if the following series or improper integrals are converge.pdfDetermine if the following series or improper integrals are converge.pdf
Determine if the following series or improper integrals are converge.pdf
 
Define the yield to maturity.SolutionYTM is the discount rate .pdf
Define the yield to maturity.SolutionYTM is the discount rate .pdfDefine the yield to maturity.SolutionYTM is the discount rate .pdf
Define the yield to maturity.SolutionYTM is the discount rate .pdf
 
CPU has an ArithmeticLogic Unit (ALU). Which are true for ALUSel.pdf
CPU has an ArithmeticLogic Unit (ALU). Which are true for ALUSel.pdfCPU has an ArithmeticLogic Unit (ALU). Which are true for ALUSel.pdf
CPU has an ArithmeticLogic Unit (ALU). Which are true for ALUSel.pdf
 
a) How many bit strings of length 6 are there which contain at least.pdf
a) How many bit strings of length 6 are there which contain at least.pdfa) How many bit strings of length 6 are there which contain at least.pdf
a) How many bit strings of length 6 are there which contain at least.pdf
 
A group of legislators wanted to look at factors that affect the num.pdf
A group of legislators wanted to look at factors that affect the num.pdfA group of legislators wanted to look at factors that affect the num.pdf
A group of legislators wanted to look at factors that affect the num.pdf
 
6. Why might The Home Depot and Lowes choose such odd dates to end.pdf
6. Why might The Home Depot and Lowes choose such odd dates to end.pdf6. Why might The Home Depot and Lowes choose such odd dates to end.pdf
6. Why might The Home Depot and Lowes choose such odd dates to end.pdf
 
3 Diseases [10 marks] create two classes zika and Plague. Each of t.pdf
3 Diseases [10 marks] create two classes zika and Plague. Each of t.pdf3 Diseases [10 marks] create two classes zika and Plague. Each of t.pdf
3 Diseases [10 marks] create two classes zika and Plague. Each of t.pdf
 
Chapter 16 Question 15 - Case StudyWhat can fish color tell us abo.pdf
Chapter 16 Question 15 - Case StudyWhat can fish color tell us abo.pdfChapter 16 Question 15 - Case StudyWhat can fish color tell us abo.pdf
Chapter 16 Question 15 - Case StudyWhat can fish color tell us abo.pdf
 
CASE APPLICATION #3 Decision Making, Saudi Style appreciate the disti.pdf
CASE APPLICATION #3 Decision Making, Saudi Style appreciate the disti.pdfCASE APPLICATION #3 Decision Making, Saudi Style appreciate the disti.pdf
CASE APPLICATION #3 Decision Making, Saudi Style appreciate the disti.pdf
 
You and another tech are discussing the relative merits of SCSI inte.pdf
You and another tech are discussing the relative merits of SCSI inte.pdfYou and another tech are discussing the relative merits of SCSI inte.pdf
You and another tech are discussing the relative merits of SCSI inte.pdf
 
Which of the following is NOT true of reflexes They are involuntary.pdf
Which of the following is NOT true of reflexes  They are involuntary.pdfWhich of the following is NOT true of reflexes  They are involuntary.pdf
Which of the following is NOT true of reflexes They are involuntary.pdf
 
What is this pedigree and example of Autosomal dominant autosomal .pdf
What is this pedigree and example of  Autosomal dominant  autosomal .pdfWhat is this pedigree and example of  Autosomal dominant  autosomal .pdf
What is this pedigree and example of Autosomal dominant autosomal .pdf
 
what is total output in economicsSolutionWhat is total output .pdf
what is total output in economicsSolutionWhat is total output .pdfwhat is total output in economicsSolutionWhat is total output .pdf
what is total output in economicsSolutionWhat is total output .pdf
 
What are the components of the prokaryotic and eukaryotic cells a.pdf
What are the components of the prokaryotic and eukaryotic cells a.pdfWhat are the components of the prokaryotic and eukaryotic cells a.pdf
What are the components of the prokaryotic and eukaryotic cells a.pdf
 
The Software Quality plan and a Software Configuration Management pl.pdf
The Software Quality plan and a Software Configuration Management pl.pdfThe Software Quality plan and a Software Configuration Management pl.pdf
The Software Quality plan and a Software Configuration Management pl.pdf
 
t distribution is a continuous distribution.TrueFalseSolutio.pdf
t distribution is a continuous distribution.TrueFalseSolutio.pdft distribution is a continuous distribution.TrueFalseSolutio.pdf
t distribution is a continuous distribution.TrueFalseSolutio.pdf
 
Since this is a group discussion, each group has own conversation for.pdf
Since this is a group discussion, each group has own conversation for.pdfSince this is a group discussion, each group has own conversation for.pdf
Since this is a group discussion, each group has own conversation for.pdf
 
REEF Activity Which of the following general transcriptions factors u.pdf
REEF Activity Which of the following general transcriptions factors u.pdfREEF Activity Which of the following general transcriptions factors u.pdf
REEF Activity Which of the following general transcriptions factors u.pdf
 
Q2. Jay rents a room in his house to a college student. In the event.pdf
Q2. Jay rents a room in his house to a college student. In the event.pdfQ2. Jay rents a room in his house to a college student. In the event.pdf
Q2. Jay rents a room in his house to a college student. In the event.pdf
 
Problem 5.7 Part A How do mammals, including humans, solve the dosa.pdf
Problem 5.7 Part A How do mammals, including humans, solve the dosa.pdfProblem 5.7 Part A How do mammals, including humans, solve the dosa.pdf
Problem 5.7 Part A How do mammals, including humans, solve the dosa.pdf
 

Recently uploaded

বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
ArianaBusciglio
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
christianmathematics
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 

Recently uploaded (20)

বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 

1 Which component contains menusa. Menu button.b. Title bar.c.pdf

  • 1. 1 Which component contains menus? a. Menu button. b. Title bar. c. Menu bar. d. Combo box. 2. Which of the following statements for a JTextField is false? a. Can be used to display uneditable text. b. Can be used to display editable text. c. Enables users to enter data from the keyboard. d. Displays a list of fields. 3. Which of the following statements about heavyweight components is false? a. AWT components are not heavyweight components. b. Several Swing components are heavyweight components. c. The look-and-feel may vary across platforms. d. The functionality may vary across platforms. 4. Which pair of words does not complete the sentence below correctly? A ________ is a ________. a. Container, Component. b. Container, JPanel. c. JComponent, Container. d. Component, Object. 5. provides the basic attributes and behaviors of a window—a title bar at the top of the window, and buttons to minimize, maximize and close the window. a. JLabel. b. JFrame. c. JSwing. d. JWindowControl. 6. Method can be used to set the layout manager of a container. a. setManager. b. setLayout. c. setLayoutManager. d. setGUILayout. 7. A JLabel can be attached to a JFrame using method: a. attach. b. contain.
  • 2. c. append. d. add. 8. A JRadioButton is different from a JCheckBox in that . a. a JRadioButton is a subclass of JToggleButton, JCheckBox is not. b. normally several JRadioButtons are grouped together and are mutually exclusive. c. a JRadioButton is a type of button, JCheckBox is not. d. a JRadioButton is a state button, JCheckBox is not. 9. The logical relationship between radio buttons is maintained by objects of what class? a. MutualExclusionGroup. b. RadioButtonGroup. c. Group. d. ButtonGroup. 10. Adding a ButtonGroup object to a container: a. is necessary for the functionality of the ButtonGroup to work properly. b. causes all the JRadioButtons in the group to have their event handlers registered. c. results in a compilation error. d. None of the above. 1 Which component contains menus? a. Menu button. b. Title bar. c. Menu bar. d. Combo box. 2. Which of the following statements for a JTextField is false? a. Can be used to display uneditable text. b. Can be used to display editable text. c. Enables users to enter data from the keyboard. d. Displays a list of fields. 3. Which of the following statements about heavyweight components is false? a. AWT components are not heavyweight components. b. Several Swing components are heavyweight components. c. The look-and-feel may vary across platforms. d. The functionality may vary across platforms. 4. Which pair of words does not complete the sentence below correctly? A ________ is a ________. a. Container, Component. b. Container, JPanel.
  • 3. c. JComponent, Container. d. Component, Object. 5. provides the basic attributes and behaviors of a window—a title bar at the top of the window, and buttons to minimize, maximize and close the window. a. JLabel. b. JFrame. c. JSwing. d. JWindowControl. 6. Method can be used to set the layout manager of a container. a. setManager. b. setLayout. c. setLayoutManager. d. setGUILayout. 7. A JLabel can be attached to a JFrame using method: a. attach. b. contain. c. append. d. add. 8. A JRadioButton is different from a JCheckBox in that . a. a JRadioButton is a subclass of JToggleButton, JCheckBox is not. b. normally several JRadioButtons are grouped together and are mutually exclusive. c. a JRadioButton is a type of button, JCheckBox is not. d. a JRadioButton is a state button, JCheckBox is not. 9. The logical relationship between radio buttons is maintained by objects of what class? a. MutualExclusionGroup. b. RadioButtonGroup. c. Group. d. ButtonGroup. 10. Adding a ButtonGroup object to a container: a. is necessary for the functionality of the ButtonGroup to work properly. b. causes all the JRadioButtons in the group to have their event handlers registered. c. results in a compilation error. d. None of the above. Solution
  • 4. 1. 2. Displays a list of fields (d) 3. Several Swing components are heavyweight components (b) 4. Container, JPanel (b) 5. JFrame (b) 6. setLayout (b) 7. add (d) 8. normally several JRadioButtons are grouped together and are mutually exclusive. (b) 9. Button group (d) 10. results in a compilation error (c) Because ButtonGroup object is not a component nd we can't add it to a container.