This topic contains a solution. Click here to go to the answer

Author Question: What is wrong with the following message to create a BoxLayout for the JPanel jp? jp.setLayout(new ... (Read 23 times)

xclash

  • Hero Member
  • *****
  • Posts: 681

Question 1

To take 2 borders and use one as an outer border and the other as an inner border, you would create a
◦ compound border
◦ nested border
◦ split border
◦ border factory
◦ matte border

Question 2

What is wrong with the following message to create a BoxLayout for the JPanel jp?
 jp.setLayout(new BoxLayout(BoxLayout.X_AXIS));
◦ X_AXIS is not a valid constant for BoxLayout, it should instead be HORIZONTAL
◦ Aside from X_AXIS, the constructor also requires a Dimension to determine the size of the Box
◦ Aside from X_AXIS, the constructor also needs a command regarding horizontal glue as in createHorizontalGlue( )
◦ The BoxLayout constructor is lacking a reference to the container that the BoxLayout manager will govern
◦ There is nothing wrong with it at all


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by xclash on Aug 30, 2020

nixon_s

  • Sr. Member
  • ****
  • Posts: 359
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 39% of students answer this correctly




xclash

  • Member
  • Posts: 681
Reply 2 on: Aug 30, 2020
YES! Correct, THANKS for helping me on my review


6ana001

  • Member
  • Posts: 311
Reply 3 on: Yesterday
Gracias!

 

Did you know?

There are more nerve cells in one human brain than there are stars in the Milky Way.

Did you know?

Barbituric acid, the base material of barbiturates, was first synthesized in 1863 by Adolph von Bayer. His company later went on to synthesize aspirin for the first time, and Bayer aspirin is still a popular brand today.

Did you know?

In 2006, a generic antinausea drug named ondansetron was approved. It is used to stop nausea and vomiting associated with surgery, chemotherapy, and radiation therapy.

Did you know?

It is believed that the Incas used anesthesia. Evidence supports the theory that shamans chewed cocoa leaves and drilled holes into the heads of patients (letting evil spirits escape), spitting into the wounds they made. The mixture of cocaine, saliva, and resin numbed the site enough to allow hours of drilling.

Did you know?

The Babylonians wrote numbers in a system that used 60 as the base value rather than the number 10. They did not have a symbol for "zero."

For a complete list of videos, visit our video library