Package net.alteiar.campaign.player.gui

Source Code of net.alteiar.campaign.player.gui.PanelGlobal

package net.alteiar.campaign.player.gui;

import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JScrollPane;

import net.alteiar.campaign.player.gui.centerViews.PanelCenter;
import net.alteiar.campaign.player.gui.sideView.PanelWest;

public class PanelGlobal extends JPanel {
  private static final long serialVersionUID = 1L;

  public PanelGlobal() {
    PanelCenter panelCenter = UiManager.getInstance().getCenterPanel();
    PanelWest west = UiManager.getInstance().getWestPanel();

    JScrollPane scroll = new JScrollPane(west);

    this.setLayout(new BorderLayout());
    this.add(scroll, BorderLayout.WEST);
    this.add(panelCenter, BorderLayout.CENTER);
  }
}
TOP

Related Classes of net.alteiar.campaign.player.gui.PanelGlobal

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.