added JPanel and extended