support class to JFrame