| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Copyright 2008-2009 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.ui; |
| | |
| | | JMenuBar menu = panel.getMenuBar(); |
| | | if (menu != null) |
| | | { |
| | | setJMenuBar(menu); |
| | | parentFrame.setJMenuBar(menu); |
| | | } |
| | | setResizable(true); |
| | | JScrollPane scroll = Utilities.createScrollPane(panel); |
| | | /* |
| | | CardLayout cardLayout = new CardLayout(); |
| | | contentPanel = new JPanel(cardLayout); |
| | | contentPanel.setOpaque(false); |
| | | setContentPane(contentPanel); |
| | | */ |
| | | JPanel inputPanel = new JPanel(new GridBagLayout()); |
| | | setContentPane(inputPanel); |
| | | GridBagConstraints gbc = new GridBagConstraints(); |