3 import javax.swing.SwingUtilities;
4 import javax.swing.UIManager;
8 *
\83^
\83C
\83g
\83\8b:
\82³
\82«
\82ã
\82Î
\82·
12 *
\90à
\96¾:
\83j
\83R
\83j
\83R
\93®
\89æ
\82Ì
\93®
\89æ
\82ð
\83R
\83\81\83\93\83g
\82Â
\82«
\82Å
\95Û
\91¶
16 *
\92\98\8dì
\8c : Copyright (c) 2007 PSI
23 * @author
\96¢
\93ü
\97Í
26 public class Saccubus {
27 boolean packFrame = false;
30 *
\83A
\83v
\83\8a\83P
\81[
\83V
\83\87\83\93\82Ì
\8d\
\92z
\82Æ
\95\
\8e¦
\81B
33 //
\83\81\83C
\83\93\83t
\83\8c\81[
\83\80\82Ì
\8f\80\94õ
34 MainFrame frame = new MainFrame();
35 // validate()
\82Í
\83T
\83C
\83Y
\82ð
\92²
\90®
\82·
\82é
36 // pack()
\82Í
\97L
\8cø
\82È
\83T
\83C
\83Y
\8fî
\95ñ
\82ð
\83\8c\83C
\83A
\83E
\83g
\82È
\82Ç
\82©
\82ç
\8eæ
\93¾
\82·
\82é
43 //
\83E
\83B
\83\93\83h
\83E
\82ð
\92\86\89\9b\82É
\94z
\92u
44 frame.setLocationByPlatform(true);
46 //
\83X
\83v
\83\89\83b
\83V
\83\85\82Í
\89B
\82·
47 //
\83\81\83C
\83\93\83t
\83\8c\81[
\83\80\95\
\8e¦
48 frame.setVisible(true);
52 *
\83A
\83v
\83\8a\83P
\81[
\83V
\83\87\83\93\83G
\83\93\83g
\83\8a\83|
\83C
\83\93\83g
\81B
57 public static void main(String[] args) {
58 if (args.length > 0) {
62 SwingUtilities.invokeLater(new Runnable() {
65 UIManager.setLookAndFeel(UIManager
66 .getSystemLookAndFeelClassName());
67 } catch (Exception exception) {
68 exception.printStackTrace();