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 25 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!


tranoy

  • Member
  • Posts: 344
Reply 3 on: Yesterday
Excellent

 

Did you know?

As the western states of America were settled, pioneers often had to drink rancid water from ponds and other sources. This often resulted in chronic diarrhea, causing many cases of dehydration and death that could have been avoided if clean water had been available.

Did you know?

There are immediate benefits of chiropractic adjustments that are visible via magnetic resonance imaging (MRI). It shows that spinal manipulation therapy is effective in decreasing pain and increasing the gaps between the vertebrae, reducing pressure that leads to pain.

Did you know?

The most destructive flu epidemic of all times in recorded history occurred in 1918, with approximately 20 million deaths worldwide.

Did you know?

The human body's pharmacokinetics are quite varied. Our hair holds onto drugs longer than our urine, blood, or saliva. For example, alcohol can be detected in the hair for up to 90 days after it was consumed. The same is true for marijuana, cocaine, ecstasy, heroin, methamphetamine, and nicotine.

Did you know?

Essential fatty acids have been shown to be effective against ulcers, asthma, dental cavities, and skin disorders such as acne.

For a complete list of videos, visit our video library