From efd4358b2c22a279cd954a04a32a2532bce2f793 Mon Sep 17 00:00:00 2001 From: josh Date: Thu, 1 Oct 2009 23:01:08 +0000 Subject: [PATCH] removed unnecessary unimplemented JApplet methods in RetirementCalculator(), set preferred size for the application window git-svn-id: svn://anubis/gvsu@431 45c1a28c-8058-47b2-ae61-ca45b979098e --- cs623/proj1/RetirementCalculator.java | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/cs623/proj1/RetirementCalculator.java b/cs623/proj1/RetirementCalculator.java index 98b49f4..8b600b8 100644 --- a/cs623/proj1/RetirementCalculator.java +++ b/cs623/proj1/RetirementCalculator.java @@ -44,18 +44,6 @@ public class RetirementCalculator extends JApplet add(panel, BorderLayout.CENTER); } - public void destroy() - { - } - - public void start() - { - } - - public void stop() - { - } - public static void main(String[] args) { javax.swing.SwingUtilities.invokeLater(new Runnable() { @@ -68,6 +56,8 @@ public class RetirementCalculator extends JApplet new RetirementCalculatorPanel(); frame.getContentPane().add(panel); + frame.setPreferredSize(new Dimension(600, 450)); + frame.pack(); frame.setVisible(true); }