Boxes don't work.

<[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
You can not set a border on a vbox or a hbox.

One might think that this is expected behavior, because the H/VBox is extended from Box which is not extended from JComponent, but rather from component.  However, the documentation for VBox/HBox says that it supports the Border tag.

Simple fix is to make H/VBox extend JPanel and set a BoxLayout on it right after calling the default constructor.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.