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
This commit is contained in:
parent
76ea152c71
commit
efd4358b2c
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user