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 36 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
Gracias!


Missbam101

  • Member
  • Posts: 341
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

There are more bacteria in your mouth than there are people in the world.

Did you know?

Vaccines prevent between 2.5 and 4 million deaths every year.

Did you know?

Drug-induced pharmacodynamic effects manifested in older adults include drug-induced renal toxicity, which can be a major factor when these adults are experiencing other kidney problems.

Did you know?

Patients who cannot swallow may receive nutrition via a parenteral route—usually, a catheter is inserted through the chest into a large vein going into the heart.

Did you know?

Drugs are in development that may cure asthma and hay fever once and for all. They target leukotrienes, which are known to cause tightening of the air passages in the lungs and increase mucus productions in nasal passages.

For a complete list of videos, visit our video library