4 import java.awt.event.ActionEvent;
5 import java.awt.event.ActionListener;
9 import saccubus.util.PopupRightClick;
13 *
\83^
\83C
\83g
\83\8b:
\82³
\82«
\82ã
\82Î
\82·
17 *
\90à
\96¾:
\83j
\83R
\83j
\83R
\93®
\89æ
\82Ì
\93®
\89æ
\82ð
\83R
\83\81\83\93\83g
\82Â
\82«
\82Å
\95Û
\91¶
21 *
\92\98\8dì
\8c : Copyright (c) 2007 PSI
28 * @author
\96¢
\93ü
\97Í
31 public class MainFrame_AboutBox extends JDialog implements ActionListener {
35 private static final long serialVersionUID = -4256413309312729840L;
37 String version = "ver1.22r(2008/04/27)";
40 "
\96{
\83v
\83\8d\83O
\83\89\83\80\82Í
\81u
\82³
\82«
\82ã
\82Î
\82·
\81v
\82ð
\89ü
\95Ï
\82µ
\82½
\82à
\82Ì
\82Å
\82 \82è, \n" + "
\83I
\83\8a\83W
\83i
\83\8b\82Ì
\92\98\8dì
\8c \82Í
\88È
\89º
\82Ì
\92Ê
\82è
\82Å
\82·.\n\n" +
41 "
\82³
\82«
\82ã
\82Î
\82·\n"+
43 "Copyright (C) 2008 Saccubus Developers Team\n"+
45 "
\83j
\83R
\83j
\83R
\93®
\89æ
\82Ì
\93®
\89æ
\82ð
\83R
\83\81\83\93\83g
\82Â
\82«
\82Å
\95Û
\91¶";
47 JPanel panel1 = new JPanel();
49 JPanel panel2 = new JPanel();
51 JPanel insetsPanel1 = new JPanel();
53 JPanel insetsPanel2 = new JPanel();
55 JPanel insetsPanel3 = new JPanel();
57 JButton button1 = new JButton();
59 JLabel imageLabel = new JLabel();
61 JTextArea product_field = new JTextArea(product);
63 ImageIcon image1 = new ImageIcon();
65 BorderLayout borderLayout1 = new BorderLayout();
67 BorderLayout borderLayout2 = new BorderLayout();
69 FlowLayout flowLayout1 = new FlowLayout();
71 GridLayout gridLayout1 = new GridLayout();
73 public MainFrame_AboutBox(Frame parent) {
76 setDefaultCloseOperation(DISPOSE_ON_CLOSE);
78 } catch (Exception exception) {
79 exception.printStackTrace();
83 public MainFrame_AboutBox() {
88 *
\83R
\83\93\83|
\81[
\83l
\83\93\83g
\82Ì
\8f\89\8aú
\89»
\81B
90 * @throws java.lang.Exception
92 private void jbInit() throws Exception {
93 image1 = new ImageIcon(saccubus.MainFrame.class.getResource("icon.png"));
94 imageLabel.setIcon(image1);
95 setTitle("
\83o
\81[
\83W
\83\87\83\93\8fî
\95ñ");
96 panel1.setLayout(borderLayout1);
97 panel2.setLayout(borderLayout2);
98 insetsPanel1.setLayout(flowLayout1);
99 insetsPanel2.setLayout(flowLayout1);
100 insetsPanel2.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
101 gridLayout1.setRows(1);
102 gridLayout1.setColumns(1);
103 insetsPanel3.setLayout(gridLayout1);
104 insetsPanel3.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
105 button1.setText("OK");
106 button1.addActionListener(this);
107 insetsPanel2.add(imageLabel, null);
108 panel2.add(insetsPanel2, BorderLayout.WEST);
109 getContentPane().add(panel1, null);
110 product_field.setForeground(insetsPanel3.getForeground());
111 product_field.setBackground(insetsPanel3.getBackground());
112 product_field.addMouseListener(new PopupRightClick(product_field));
113 product_field.setEditable(false);
114 insetsPanel3.add(product_field, null);
115 panel2.add(insetsPanel3, BorderLayout.CENTER);
116 insetsPanel1.add(button1, null);
117 panel1.add(insetsPanel1, BorderLayout.SOUTH);
118 panel1.add(panel2, BorderLayout.NORTH);
123 *
\83{
\83^
\83\93\83C
\83x
\83\93\83g
\82Å
\83_
\83C
\83A
\83\8d\83O
\82ð
\95Â
\82¶
\82é
128 public void actionPerformed(ActionEvent actionEvent) {
129 if (actionEvent.getSource() == button1) {