p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); p.add(new JLabel(PANEL_NOTE)); p.add(new JLabel(PANEL_SUBNOTE));
p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(UIUtilities.buildComponentPanel(labels));
    private void buildGUI()    {        setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));        JPanel p = new JPanel();        p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS));        p.add(new JLabel(PANEL_NOTE));        p.add(new JLabel(PANEL_SUBNOTE));        p.add(createToolBar());        add(UIUtilities.buildComponentPanel(p), BorderLayout.NORTH);        add(new JScrollPane(treeDisplay), BorderLayout.CENTER);    }