public void componentResized(ComponentEvent e) {
			if (e.getComponent() instanceof AppFrame) {
				AppFrame cf = (AppFrame) e.getComponent();
				Dimension newSize = cf.getSize();
				if (!preferredFrameSize.equals(newSize)) {
					double percentage = (double) newSize.height
							/ preferredFrameSize.height;
					buttonPanel.setButtonFontSize(percentage);
					displayPanel.setDisplayFontSize(percentage);
					if (DEBUG) {
						System.out.println(newSize.width + "  x  "
								+ newSize.height);
						System.out.println(newSize.height + "  >>  "
								+ preferredFrameSize.height + "  : "
								+ percentage);
					}
				}
			}
		}