final Icon landscapeIcon = guiContext.getIconTheme().getLargeIcon(getLocale(), "pagesetup.landscape");
final JLabel landscapeLabel = new JLabel(messages.getString("PageSetupDialog.Landscape"), landscapeIcon, SwingConstants.LEFT);
landscapeLabel.setLabelFor(landscapeModeBox);
final JPanel contentPane = new JPanel();
contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.X_AXIS));
contentPane.setBorder(BorderFactory.createCompoundBorder
(BorderFactory.createTitledBorder(messages.getString("PageSetupDialog.Orientation")),
BorderFactory.createEmptyBorder(5, 5, 5, 5)));
contentPane.add(portraitModeBox);
contentPane.add(portraitLabel);