Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#java help me please Which of the following statements can correctly change the background color of the button b1 to yellow* (10 Points) b1.setBackground(yellow) b1.setForeground(yellow)

image text in transcribed

#java help me please

Which of the following statements can correctly change the background color of the button "b1" to yellow* (10 Points) b1.setBackground("yellow) b1.setForeground("yellow") b1. setForeground(Color.yellow); b1.setBackground(Color.yellow) Which of the following is NOT a legal color in Java (10 Points) Color.red Color c = new Color (0,0,0); Color c = new Color(255,255,255) Colorc = new Color(100, 200, 300); 4 The statement that sets the font name for button "b1" to "Times New Roman", the font style to italic, and size to 20 is: * (10 Points) b.Font(new Font("Times New Roman", Font.ITALIC, 20)); b.setFont(new Font("Times New Roman", Font.ITALIC, 20)); b.setFont(new Font("Times New Roman", ITALIC, 20); b.setFont(Font("Times New Roman", ITALIC, 20))

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

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

3. Existing organizations and programs constrain behavior.

Answered: 1 week ago