testing the compatibility of JFrame across computers