/** * Create the name label if needed. * * @return The component that holds the name label. */ protected JComponent getLabelComponent() { if (nameLabel == null) { nameLabel = new JLabel(); Font font = nameLabel.getFont(); nameLabel.setFont(font.deriveFont(Font.ITALIC | Font.BOLD)); labelComponent = GuiUtils.hflow(Misc.newList(new JLabel("Layout Model: "), nameLabel)); } return labelComponent; }