package org.helioviewer.plugins.eveplugin.view;

import java.awt.GridBagConstraints;

import javax.swing.BoxLayout;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;

public class TimelinePluginPanel extends JPanel {

    private static final long serialVersionUID = -2175620741820580148L;
    private JTabbedPane tabs;

    public TimelinePluginPanel() {
        super();
        initVisualComponents();
    }

    private void initVisualComponents() {
        tabs = new JTabbedPane();
        tabs.addTab("Layers", ControlsPanel.getSingletonInstance());
        tabs.addTab("Radio Options", new RadioOptionsPanel());

        setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));
        GridBagConstraints gc = new GridBagConstraints();
        gc.gridx = 0;
        gc.gridy = 0;
        gc.fill = GridBagConstraints.BOTH;
        add(tabs, gc);
    }
}

@@ -46,45 +46,8 @@
 w;%0A%0A
-import java.awt.GridBagConstraints;%0A%0A
 impo
@@ -651,153 +651,8 @@
 ));%0A
-        GridBagConstraints gc = new GridBagConstraints();%0A        gc.gridx = 0;%0A        gc.gridy = 0;%0A        gc.fill = GridBagConstraints.BOTH;%0A
     
@@ -667,12 +667,8 @@
 tabs
-, gc
 );%0A 

remove the constraints