
// Copyright (c) 2001 
package uk.co.patrickhaston.mars;

import javax.swing.*;
import java.awt.*;
import oracle.jdeveloper.layout.*;
//import oracle.dacf.layout.*;

/**
 * A Swing-based panel class.
 * <P>
 * @author Patrick Haston
 */
public class Navigator extends MPanel
{
  JScrollBar nsScrollBar = new JScrollBar();
  JScrollBar ewScrollBar = new JScrollBar();
  FlowLayout flowLayout1 = new FlowLayout();

  /**
   * Constructs a new instance.
   */
  public Navigator()
  {
    super();
    try 
    {
      jbInit();
    }
    catch (Exception e)
    {
      e.printStackTrace();
    }
  }

  /**
   * Initializes the state of this instance.
   */
  private void jbInit() throws Exception
  {
    this.setLayout(flowLayout1);
    ewScrollBar.setMaximum(360);
    nsScrollBar.setMinimum(-90);
    nsScrollBar.setMaximum(90);
    ewScrollBar.setOrientation(JScrollBar.HORIZONTAL);
    this.add(nsScrollBar, null);
    this.add(ewScrollBar, null);
  }
}



