~michael-achmann/jphpedit/devel

« back to all changes in this revision

Viewing changes to src/jphpedit/gui/gMainWindow.java

  • Committer: Achi
  • Date: 2009-09-26 14:41:34 UTC
  • Revision ID: achi@notebook_ii-20090926144134-foe8u1kgztz0zy6o
Properties file added for translation

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
        gStartDocument start = new gStartDocument();
42
42
        jTabbedPane1.add(start);
43
 
        jTabbedPane1.setTitleAt(0, "Start");
 
43
        jTabbedPane1.setTitleAt(0, java.util.ResourceBundle.getBundle("jphpedit/Bundle").getString("Start"));
44
44
        start.setSize(600,600);
45
45
        
46
46
        gDocument document1 = new gDocument();
77
77
        jMenuItem1 = new javax.swing.JMenuItem();
78
78
 
79
79
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
80
 
        setTitle("JphpEdit");
 
80
        java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("jphpedit/Bundle"); // NOI18N
 
81
        setTitle(bundle.getString("JphpEdit")); // NOI18N
81
82
 
82
83
        jPanel1.setMaximumSize(new java.awt.Dimension(500, 500));
83
84
        jPanel1.setLayout(new javax.swing.BoxLayout(jPanel1, javax.swing.BoxLayout.LINE_AXIS));
134
135
        jButton3.setBorderPainted(false);
135
136
        jButton3.setFocusable(false);
136
137
        jButton3.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
137
 
        jButton3.setOpaque(true);
138
138
        jButton3.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
139
139
        jToolBar1.add(jButton3);
140
140
 
141
 
        jMenu5.setText("File");
 
141
        jMenu5.setText(bundle.getString("File")); // NOI18N
142
142
        MainMenuBar2.add(jMenu5);
143
143
 
144
 
        jMenu6.setText("Edit");
 
144
        jMenu6.setText(bundle.getString("Edit")); // NOI18N
145
145
 
146
 
        jMenuItem1.setText("Settings");
 
146
        jMenuItem1.setText(bundle.getString("Settings")); // NOI18N
147
147
        jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
148
148
            public void actionPerformed(java.awt.event.ActionEvent evt) {
149
149
                jMenuItem1ActionPerformed(evt);