import sale.*;
import log.*;
import java.io.*;
import java.util.*;
public class VideoMachine extends Shop
{
public VideoMachine()
{
super();
}
public static void main (String[] args)
{
VideoMachine vidMachine = new VideoMachine();
setTheShop(vidMachine);
try {
Log.setGlobalOutputStream(new FileOutputStream("machine.log", true));
}
catch (IOException ioex) {
System.err.println("Unable to create log file.");
}
vidMachine.setShopFrameTitle("Videoverleihautomat *** HOMECINEMA *** 24h");
vidMachine.start();
vidMachine.getShopFrame().setSize(640,480);
vidMachine.getShopFrame().validate();
}
public void quit()
{
if (Shop.getTheShop().shutdown (false)) {
System.exit (0);
}
}
}