import javax.swing.*;
import javax.swing.event.*;
import javax.swing.tree.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.border.*;
import java.util.*;

class RemoveFile 
{
  //Stimulus Response Canvas Object
  public JButton removefile;
  
  //Dimentions for each area of the Stimulus and Pole Display
  private Dimension buttonDimension = new Dimension(100,40);
  
  /**
   * Default Constructor
   */
  public RemoveFile() 
  {
  }

  public RemoveFile(JLayeredPane layers, BevelBorder bevelL) 
  {
    //Instantiate objects
    removefile = new JButton("<< Remove");
    removefile.setFont(new Font("Serif",Font.BOLD,12));
	//removefile.setBackground(Color.red);
    
    //********************************************************
    //Include the Canvas in the SRPole and set its layer
    //********************************************************
    
    layers.add(removefile);
    layers.setLayer(removefile,1);
    
    //***********************************
    //Setup properties of the SRPole
    //***********************************
    
  
    removefile.setSize(buttonDimension);
    removefile.setBounds(375,350,(int)buttonDimension.getWidth(),(int)buttonDimension.getHeight());
  
    //********************************
    //Set the Areas to a visible state
    //********************************
    
    removefile.setVisible(true);
  }
}
