package com.github.aureliano.edocs.app.gui;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JPanel;

import com.github.aureliano.edocs.app.gui.menu.MenuBar;

public class AppFrame extends JFrame {

	private static final long serialVersionUID = 7618501026967569839L;

	public AppFrame() {
		this.buildGui();
	}
	
	private void buildGui() {
		super.setTitle("e-Docs");
		super.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		JPanel panel = new JPanel(new BorderLayout());
		panel.setOpaque(true);
		panel.add(new VerticalToolBar(), BorderLayout.WEST);
		
		super.setContentPane(panel);
		super.setJMenuBar(new MenuBar());
	}
	
	public void showFrame() {
		super.pack();
		super.setVisible(true);
		super.setSize(new Dimension(500, 500));
	}
}
@@ -317,16 +317,50 @@
 9839L;%0A%0A
+%09private TabbedPane tabbedPane;%0A%09%0A
 %09public 
@@ -642,16 +642,108 @@
 ST);%0A%09%09%0A
+%09%09this.tabbedPane = new TabbedPane();%0A%09%09panel.add(this.tabbedPane, BorderLayout.CENTER);%0A%09%09%0A
 %09%09super.

Add tabbed pane to the center of the frame.