When using a box layout, how is the orientation – horizontal or vertical box – specified?

What will be an ideal response?


The orientation is specified as a parameter to the BoxLayout constructor. BoxLayout.Y-AXIS
indicates a vertical box layout. BoxLayout.X-AXIS indicates a horizontal box layout.

Computer Science & Information Technology

You might also like to view...

To change an object's position, Alice provides a method named ____.

A. say() B. think() C. move() D. playSound()

Computer Science & Information Technology

To help you visualize and compare data, Access reports can now display XPS bars.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A general linear list is a list in which operations can be done anywhere in the list.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The ability to _________________________ website content plays a major role in the growing popularity of news-oriented websites.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology