public SerialBox() {
		for(int x = 0; x<1000; x++) {
			rects.add(new Rectangle2D.Float(x, 2 * x, 10, 11));
		}
		
		try (FileOutputStream fileOut= new FileOutputStream("tmp/employee.ser");
				ObjectOutputStream out = new ObjectOutputStream(fileOut)) {
			out.writeObject(this);
			System.out.println("Serialized data is saved in tmp/employee.ser");
		} catch(IOException i) {
			i.printStackTrace();
		}
	}