/** Practice with additional Swing Classes and Layout.
  */
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.text.DecimalFormat;
import java.util.*;

public class EggShop extends JFrame {
  private OptionPanel eggPanel;
  private OptionPanel toppingPanel;
  private OptionPanel beveragePanel;
  private JLabel totalPrice;
  
  /** 
   * Return the current order price as a string, formatted to two decimal places. 
   */
  public String getCurrentPrice() {
    //COMPLETE ME!
    
    
  }
  /**
   * Return the total price of the order including 6% sales tax.
   */
  public double getTotalPrice() {
    //COMPLETE ME!
    
  }
  
  /**
   * Update the window to display the current price
   */
  public void updatePrice() {
    //COMPLETE ME!
    
  }
  
  /**
   * Create a new EggShop window
   */
  public EggShop () {
    super ("Order calculator");
    this.setSize(400,250);
    this.setDefaultCloseOperation(EXIT_ON_CLOSE);
    
    this.setLayout(new BorderLayout());
    
    //Add to the contents of the window
    //COMPLETE ME!
    
    
    
    this.setVisible(true);
    
  }
  
  
  public static void main(String[] args) {
    EggShop e = new EggShop();
  }
}

