iat351 assignment 3 - custom JComponent