Questions from Starting Out With Java


Q: What type of event does a Slider generate when its slider knob

What type of event does a Slider generate when its slider knob is moved?

See Answer

Q: Which CSS style property specifies the font for a control’s

Which CSS style property specifies the font for a control’s text?

See Answer

Q: How do you get a Slider’s current value?

How do you get a Slider’s current value?

See Answer

Q: What is the difference between a TextArea and a TextField?

What is the difference between a TextArea and a TextField?

See Answer

Q: What is the TextArea’s default number of columns displayed?

What is the TextArea’s default number of columns displayed? How do you change the number of columns?

See Answer

Q: What is the TextArea’s default number of rows displayed?

What is the TextArea’s default number of rows displayed? How do you change the number of rows?

See Answer

Q: What is text wrapping? What is line wrapping? How do

What is text wrapping? What is line wrapping? How do you enable text wrapping in a TextArea control?

See Answer

Q: How do you retrieve the text that the user has typed into

How do you retrieve the text that the user has typed into a TextArea control?

See Answer

Q: Briefly describe each of the following menu system items: 1

Briefly describe each of the following menu system items: 1. Menu bar 2. Menu 3. Menu item 4. Check menu item 5. Radio menu item 6. Submenu 7. Separator bar

See Answer

Q: Write code that creates an ArrayList that can hold String objects.

Write code that creates an ArrayList that can hold String objects. Add the names of three cars to the ArrayList, and then display the contents of the ArrayList.

See Answer