テキストの各行をキーと値に分離し、複数テキストファイルを読み込み、キーを突き合わせ照合し、その結果を表示するGUIユーテリティです。
リビジョン | 3be36020d0911cab5aa5568bf1ad6c72e2d35fab (tree) |
---|---|
日時 | 2011-10-18 01:52:53 |
作者 | seraphy <seraphy@192....> |
コミッター | seraphy |
・ Mac用リソース
・ MacでのAboutメニューハンドラ対応
@@ -6,6 +6,7 @@ package textkeymatcher; | ||
6 | 6 | |
7 | 7 | import textkeymatcher.ui.TextKeyMatcherView; |
8 | 8 | import java.awt.Font; |
9 | +import java.util.Locale; | |
9 | 10 | import java.util.logging.Level; |
10 | 11 | import java.util.logging.Logger; |
11 | 12 | import javax.swing.UIDefaults; |
@@ -52,7 +53,9 @@ public class TextKeyMatcherApp extends SingleFrameApplication { | ||
52 | 53 | } |
53 | 54 | |
54 | 55 | // メインウィンドウの構築と表示 |
55 | - show(new TextKeyMatcherView(this)); | |
56 | + TextKeyMatcherView view = new TextKeyMatcherView(this); | |
57 | + | |
58 | + show(view); | |
56 | 59 | } |
57 | 60 | |
58 | 61 | /** |
@@ -83,11 +86,9 @@ public class TextKeyMatcherApp extends SingleFrameApplication { | ||
83 | 86 | * @throws Exception いろいろな失敗 |
84 | 87 | */ |
85 | 88 | private static void setupUIManager() throws Exception { |
89 | + // スクリーンメニューを有効化 | |
86 | 90 | System.setProperty("apple.laf.useScreenMenuBar", "true"); |
87 | 91 | |
88 | - // 実行プラットフォームのネイティブな外観にする. | |
89 | - UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); | |
90 | - | |
91 | 92 | // JSpliderのvalueを非表示 (GTKではデフォルトで有効のため) |
92 | 93 | UIManager.put("Slider.paintValue", Boolean.FALSE); |
93 | 94 |
@@ -107,6 +108,17 @@ public class TextKeyMatcherApp extends SingleFrameApplication { | ||
107 | 108 | * Main method launching the application. |
108 | 109 | */ |
109 | 110 | public static void main(String[] args) { |
111 | + // 日本語ニーモニック除去対応のため、Macの場合はロケールにバリアントをつける. | |
112 | + Locale locale = Locale.getDefault(); | |
113 | + String lang = locale.getLanguage(); | |
114 | + if ("ja".equals(lang)) { | |
115 | + if (System.getProperty("os.name").toLowerCase().indexOf("mac os x") >= 0) { | |
116 | + String country = locale.getCountry(); | |
117 | + Locale macLocaleJA = new Locale(lang, country, "mac"); | |
118 | + Locale.setDefault(macLocaleJA); | |
119 | + } | |
120 | + } | |
121 | + // 起動する. | |
110 | 122 | launch(TextKeyMatcherApp.class, args); |
111 | 123 | } |
112 | 124 | } |
@@ -15,7 +15,7 @@ | ||
15 | 15 | </DimensionLayout> |
16 | 16 | <DimensionLayout dim="1"> |
17 | 17 | <Group type="103" groupAlignment="0" attributes="0"> |
18 | - <Component id="dataViewTableSP" alignment="0" pref="388" max="32767" attributes="0"/> | |
18 | + <Component id="dataViewTableSP" alignment="0" pref="380" max="32767" attributes="0"/> | |
19 | 19 | </Group> |
20 | 20 | </DimensionLayout> |
21 | 21 | </Layout> |
@@ -133,14 +133,16 @@ | ||
133 | 133 | </MenuItem> |
134 | 134 | <MenuItem class="javax.swing.JMenuItem" name="removeMenuItem"> |
135 | 135 | <Properties> |
136 | - <Property name="name" type="java.lang.String" value="removeMenuItem" noResource="true"/> | |
136 | + <Property name="mnemonic" type="int" value="82"/> | |
137 | 137 | <Property name="text" type="java.lang.String" resourceKey="removeMenuItem.text"/> |
138 | + <Property name="name" type="java.lang.String" value="removeMenuItem" noResource="true"/> | |
138 | 139 | </Properties> |
139 | 140 | </MenuItem> |
140 | 141 | <MenuItem class="javax.swing.JMenuItem" name="mergeMenuItem"> |
141 | 142 | <Properties> |
142 | - <Property name="name" type="java.lang.String" value="mergeMenuItem" noResource="true"/> | |
143 | + <Property name="mnemonic" type="int" value="77"/> | |
143 | 144 | <Property name="text" type="java.lang.String" resourceKey="mergeMenuItem.text"/> |
145 | + <Property name="name" type="java.lang.String" value="mergeMenuItem" noResource="true"/> | |
144 | 146 | </Properties> |
145 | 147 | </MenuItem> |
146 | 148 | </SubComponents> |
@@ -157,6 +159,7 @@ | ||
157 | 159 | <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
158 | 160 | <ComponentRef name="keyButtonGroup"/> |
159 | 161 | </Property> |
162 | + <Property name="mnemonic" type="int" value="84"/> | |
160 | 163 | <Property name="text" type="java.lang.String" resourceKey="textNormalRadioButtonMenuItem.text"/> |
161 | 164 | <Property name="name" type="java.lang.String" value="textNormalRadioButtonMenuItem" noResource="true"/> |
162 | 165 | </Properties> |
@@ -169,6 +172,7 @@ | ||
169 | 172 | <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
170 | 173 | <ComponentRef name="keyButtonGroup"/> |
171 | 174 | </Property> |
175 | + <Property name="mnemonic" type="int" value="73"/> | |
172 | 176 | <Property name="text" type="java.lang.String" resourceKey="textIgnoreCaseRadioButtonMenuItem.text"/> |
173 | 177 | <Property name="name" type="java.lang.String" value="textIgnoreCaseRadioButtonMenuItem" noResource="true"/> |
174 | 178 | </Properties> |
@@ -181,6 +185,7 @@ | ||
181 | 185 | <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
182 | 186 | <ComponentRef name="keyButtonGroup"/> |
183 | 187 | </Property> |
188 | + <Property name="mnemonic" type="int" value="78"/> | |
184 | 189 | <Property name="text" type="java.lang.String" resourceKey="numberRadioButtonMenuItem.text"/> |
185 | 190 | <Property name="name" type="java.lang.String" value="numberRadioButtonMenuItem" noResource="true"/> |
186 | 191 | </Properties> |
@@ -202,6 +207,7 @@ | ||
202 | 207 | <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
203 | 208 | <ComponentRef name="viewButtonGroup"/> |
204 | 209 | </Property> |
210 | + <Property name="mnemonic" type="int" value="65"/> | |
205 | 211 | <Property name="selected" type="boolean" value="true"/> |
206 | 212 | <Property name="text" type="java.lang.String" resourceKey="allRadioButtonMenuItem.text"/> |
207 | 213 | <Property name="name" type="java.lang.String" value="allRadioButtonMenuItem" noResource="true"/> |
@@ -212,6 +218,7 @@ | ||
212 | 218 | <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
213 | 219 | <ComponentRef name="viewButtonGroup"/> |
214 | 220 | </Property> |
221 | + <Property name="mnemonic" type="int" value="77"/> | |
215 | 222 | <Property name="text" type="java.lang.String" resourceKey="matchedRadioButtonMenuItem.text"/> |
216 | 223 | <Property name="name" type="java.lang.String" value="matchedRadioButtonMenuItem" noResource="true"/> |
217 | 224 | </Properties> |
@@ -221,6 +228,7 @@ | ||
221 | 228 | <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
222 | 229 | <ComponentRef name="viewButtonGroup"/> |
223 | 230 | </Property> |
231 | + <Property name="mnemonic" type="int" value="78"/> | |
224 | 232 | <Property name="text" type="java.lang.String" resourceKey="unmatchedRadioButtonMenuItem.text"/> |
225 | 233 | <Property name="name" type="java.lang.String" value="unmatchedRadioButtonMenuItem" noResource="true"/> |
226 | 234 | </Properties> |
@@ -230,6 +238,7 @@ | ||
230 | 238 | <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
231 | 239 | <ComponentRef name="viewButtonGroup"/> |
232 | 240 | </Property> |
241 | + <Property name="mnemonic" type="int" value="49"/> | |
233 | 242 | <Property name="text" type="java.lang.String" resourceKey="existsLeftRadioButtonMenuItem.text"/> |
234 | 243 | <Property name="name" type="java.lang.String" value="existsLeftRadioButtonMenuItem" noResource="true"/> |
235 | 244 | </Properties> |
@@ -239,6 +248,7 @@ | ||
239 | 248 | <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
240 | 249 | <ComponentRef name="viewButtonGroup"/> |
241 | 250 | </Property> |
251 | + <Property name="mnemonic" type="int" value="50"/> | |
242 | 252 | <Property name="text" type="java.lang.String" resourceKey="missingLeftRadioButtonMenuItem.text"/> |
243 | 253 | <Property name="name" type="java.lang.String" value="missingLeftRadioButtonMenuItem" noResource="true"/> |
244 | 254 | </Properties> |
@@ -251,16 +261,13 @@ | ||
251 | 261 | <Property name="text" type="java.lang.String" resourceKey="helpMenu.text"/> |
252 | 262 | <Property name="name" type="java.lang.String" value="helpMenu" noResource="true"/> |
253 | 263 | </Properties> |
254 | - <AuxValues> | |
255 | - <AuxValue name="JavaCodeGenerator_VariableLocal" type="java.lang.Boolean" value="true"/> | |
256 | - <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/> | |
257 | - </AuxValues> | |
258 | 264 | <SubComponents> |
259 | 265 | <MenuItem class="javax.swing.JMenuItem" name="aboutMenuItem"> |
260 | 266 | <Properties> |
261 | 267 | <Property name="action" type="javax.swing.Action" editor="org.netbeans.modules.swingapp.ActionEditor"> |
262 | 268 | <action class="textkeymatcher.TextKeyMatcherView" id="showAboutBox" methodName="showAboutBox"/> |
263 | 269 | </Property> |
270 | + <Property name="text" type="java.lang.String" resourceKey="aboutMenuItem.text"/> | |
264 | 271 | <Property name="name" type="java.lang.String" value="aboutMenuItem" noResource="true"/> |
265 | 272 | </Properties> |
266 | 273 | <AuxValues> |
@@ -290,7 +297,7 @@ | ||
290 | 297 | <Group type="103" groupAlignment="0" attributes="0"> |
291 | 298 | <Group type="102" attributes="0"> |
292 | 299 | <Component id="statusMessageLabel" min="-2" max="-2" attributes="0"/> |
293 | - <EmptySpace pref="268" max="32767" attributes="0"/> | |
300 | + <EmptySpace pref="260" max="32767" attributes="0"/> | |
294 | 301 | <Component id="statusAnimationLabel" min="-2" max="-2" attributes="0"/> |
295 | 302 | <EmptySpace min="-2" pref="151" max="-2" attributes="0"/> |
296 | 303 | </Group> |
@@ -4,6 +4,8 @@ | ||
4 | 4 | |
5 | 5 | package textkeymatcher.ui; |
6 | 6 | |
7 | +import com.apple.eawt.AboutHandler; | |
8 | +import com.apple.eawt.AppEvent.AboutEvent; | |
7 | 9 | import org.apache.commons.lang3.StringUtils; |
8 | 10 | import org.jdesktop.application.Task; |
9 | 11 | import org.jdesktop.application.Action; |
@@ -113,6 +115,9 @@ public class TextKeyMatcherView extends FrameView { | ||
113 | 115 | }); |
114 | 116 | } |
115 | 117 | |
118 | + /** | |
119 | + * IDEで管理されないGUI要素の初期化 | |
120 | + */ | |
116 | 121 | private void afterInitComponents() { |
117 | 122 | // 終了アクション |
118 | 123 | javax.swing.ActionMap actionMap = org.jdesktop.application.Application |
@@ -120,14 +125,27 @@ public class TextKeyMatcherView extends FrameView { | ||
120 | 125 | .getContext().getActionMap(TextKeyMatcherView.class, this); |
121 | 126 | |
122 | 127 | javax.swing.Action actQuit = actionMap.get("quit"); // NOI18N |
123 | - | |
124 | - // ウィンドウを閉じるキー(CMD-W) | |
128 | + | |
129 | + // Macの場合 | |
125 | 130 | if (System.getProperty("os.name").toLowerCase().indexOf("mac os x") >= 0) { |
131 | + // ウィンドウを閉じるキー(CMD-W) | |
126 | 132 | JRootPane root = getRootPane(); |
127 | 133 | InputMap im = root.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW); |
128 | 134 | im.put(KeyStroke.getKeyStroke(KeyEvent.VK_W, InputEvent.META_DOWN_MASK), actQuit); |
129 | 135 | |
130 | 136 | root.getActionMap().put(actQuit, actQuit); |
137 | + | |
138 | + // ヘルプメニュー無効化 | |
139 | + helpMenu.setVisible(false); | |
140 | + | |
141 | + // アプリケーションハンドラ接続 | |
142 | + com.apple.eawt.Application app = com.apple.eawt.Application.getApplication(); | |
143 | + app.setAboutHandler(new AboutHandler() { | |
144 | + @Override | |
145 | + public void handleAbout(AboutEvent ae) { | |
146 | + showAboutBox(); | |
147 | + } | |
148 | + }); | |
131 | 149 | } |
132 | 150 | } |
133 | 151 |
@@ -176,7 +194,7 @@ public class TextKeyMatcherView extends FrameView { | ||
176 | 194 | unmatchedRadioButtonMenuItem = new javax.swing.JRadioButtonMenuItem(); |
177 | 195 | existsLeftRadioButtonMenuItem = new javax.swing.JRadioButtonMenuItem(); |
178 | 196 | missingLeftRadioButtonMenuItem = new javax.swing.JRadioButtonMenuItem(); |
179 | - javax.swing.JMenu helpMenu = new javax.swing.JMenu(); | |
197 | + helpMenu = new javax.swing.JMenu(); | |
180 | 198 | javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem(); |
181 | 199 | statusPanel = new javax.swing.JPanel(); |
182 | 200 | statusMessageLabel = new javax.swing.JLabel(); |
@@ -206,7 +224,7 @@ public class TextKeyMatcherView extends FrameView { | ||
206 | 224 | ); |
207 | 225 | mainPanelLayout.setVerticalGroup( |
208 | 226 | mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
209 | - .addComponent(dataViewTableSP, javax.swing.GroupLayout.DEFAULT_SIZE, 388, Short.MAX_VALUE) | |
227 | + .addComponent(dataViewTableSP, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE) | |
210 | 228 | ); |
211 | 229 | |
212 | 230 | menuBar.setName("menuBar"); // NOI18N |
@@ -252,12 +270,14 @@ public class TextKeyMatcherView extends FrameView { | ||
252 | 270 | jSeparator2.setName("jSeparator2"); // NOI18N |
253 | 271 | dataMenu.add(jSeparator2); |
254 | 272 | |
255 | - removeMenuItem.setName("removeMenuItem"); // NOI18N | |
273 | + removeMenuItem.setMnemonic('R'); | |
256 | 274 | removeMenuItem.setText(resourceMap.getString("removeMenuItem.text")); // NOI18N |
275 | + removeMenuItem.setName("removeMenuItem"); // NOI18N | |
257 | 276 | dataMenu.add(removeMenuItem); |
258 | 277 | |
259 | - mergeMenuItem.setName("mergeMenuItem"); // NOI18N | |
278 | + mergeMenuItem.setMnemonic('M'); | |
260 | 279 | mergeMenuItem.setText(resourceMap.getString("mergeMenuItem.text")); // NOI18N |
280 | + mergeMenuItem.setName("mergeMenuItem"); // NOI18N | |
261 | 281 | dataMenu.add(mergeMenuItem); |
262 | 282 | |
263 | 283 | menuBar.add(dataMenu); |
@@ -267,6 +287,7 @@ public class TextKeyMatcherView extends FrameView { | ||
267 | 287 | keyMenu.setName("keyMenu"); // NOI18N |
268 | 288 | |
269 | 289 | keyButtonGroup.add(textNormalRadioButtonMenuItem); |
290 | + textNormalRadioButtonMenuItem.setMnemonic('T'); | |
270 | 291 | textNormalRadioButtonMenuItem.setText(resourceMap.getString("textNormalRadioButtonMenuItem.text")); // NOI18N |
271 | 292 | textNormalRadioButtonMenuItem.setName("textNormalRadioButtonMenuItem"); // NOI18N |
272 | 293 |
@@ -276,6 +297,7 @@ public class TextKeyMatcherView extends FrameView { | ||
276 | 297 | keyMenu.add(textNormalRadioButtonMenuItem); |
277 | 298 | |
278 | 299 | keyButtonGroup.add(textIgnoreCaseRadioButtonMenuItem); |
300 | + textIgnoreCaseRadioButtonMenuItem.setMnemonic('I'); | |
279 | 301 | textIgnoreCaseRadioButtonMenuItem.setText(resourceMap.getString("textIgnoreCaseRadioButtonMenuItem.text")); // NOI18N |
280 | 302 | textIgnoreCaseRadioButtonMenuItem.setName("textIgnoreCaseRadioButtonMenuItem"); // NOI18N |
281 | 303 |
@@ -285,6 +307,7 @@ public class TextKeyMatcherView extends FrameView { | ||
285 | 307 | keyMenu.add(textIgnoreCaseRadioButtonMenuItem); |
286 | 308 | |
287 | 309 | keyButtonGroup.add(numberRadioButtonMenuItem); |
310 | + numberRadioButtonMenuItem.setMnemonic('N'); | |
288 | 311 | numberRadioButtonMenuItem.setText(resourceMap.getString("numberRadioButtonMenuItem.text")); // NOI18N |
289 | 312 | numberRadioButtonMenuItem.setName("numberRadioButtonMenuItem"); // NOI18N |
290 | 313 |
@@ -300,27 +323,32 @@ public class TextKeyMatcherView extends FrameView { | ||
300 | 323 | viewMenu.setName("viewMenu"); // NOI18N |
301 | 324 | |
302 | 325 | viewButtonGroup.add(allRadioButtonMenuItem); |
326 | + allRadioButtonMenuItem.setMnemonic('A'); | |
303 | 327 | allRadioButtonMenuItem.setSelected(true); |
304 | 328 | allRadioButtonMenuItem.setText(resourceMap.getString("allRadioButtonMenuItem.text")); // NOI18N |
305 | 329 | allRadioButtonMenuItem.setName("allRadioButtonMenuItem"); // NOI18N |
306 | 330 | viewMenu.add(allRadioButtonMenuItem); |
307 | 331 | |
308 | 332 | viewButtonGroup.add(matchedRadioButtonMenuItem); |
333 | + matchedRadioButtonMenuItem.setMnemonic('M'); | |
309 | 334 | matchedRadioButtonMenuItem.setText(resourceMap.getString("matchedRadioButtonMenuItem.text")); // NOI18N |
310 | 335 | matchedRadioButtonMenuItem.setName("matchedRadioButtonMenuItem"); // NOI18N |
311 | 336 | viewMenu.add(matchedRadioButtonMenuItem); |
312 | 337 | |
313 | 338 | viewButtonGroup.add(unmatchedRadioButtonMenuItem); |
339 | + unmatchedRadioButtonMenuItem.setMnemonic('N'); | |
314 | 340 | unmatchedRadioButtonMenuItem.setText(resourceMap.getString("unmatchedRadioButtonMenuItem.text")); // NOI18N |
315 | 341 | unmatchedRadioButtonMenuItem.setName("unmatchedRadioButtonMenuItem"); // NOI18N |
316 | 342 | viewMenu.add(unmatchedRadioButtonMenuItem); |
317 | 343 | |
318 | 344 | viewButtonGroup.add(existsLeftRadioButtonMenuItem); |
345 | + existsLeftRadioButtonMenuItem.setMnemonic('1'); | |
319 | 346 | existsLeftRadioButtonMenuItem.setText(resourceMap.getString("existsLeftRadioButtonMenuItem.text")); // NOI18N |
320 | 347 | existsLeftRadioButtonMenuItem.setName("existsLeftRadioButtonMenuItem"); // NOI18N |
321 | 348 | viewMenu.add(existsLeftRadioButtonMenuItem); |
322 | 349 | |
323 | 350 | viewButtonGroup.add(missingLeftRadioButtonMenuItem); |
351 | + missingLeftRadioButtonMenuItem.setMnemonic('2'); | |
324 | 352 | missingLeftRadioButtonMenuItem.setText(resourceMap.getString("missingLeftRadioButtonMenuItem.text")); // NOI18N |
325 | 353 | missingLeftRadioButtonMenuItem.setName("missingLeftRadioButtonMenuItem"); // NOI18N |
326 | 354 | viewMenu.add(missingLeftRadioButtonMenuItem); |
@@ -332,6 +360,7 @@ public class TextKeyMatcherView extends FrameView { | ||
332 | 360 | helpMenu.setName("helpMenu"); // NOI18N |
333 | 361 | |
334 | 362 | aboutMenuItem.setAction(actionMap.get("showAboutBox")); // NOI18N |
363 | + aboutMenuItem.setText(resourceMap.getString("aboutMenuItem.text")); // NOI18N | |
335 | 364 | aboutMenuItem.setName("aboutMenuItem"); // NOI18N |
336 | 365 | helpMenu.add(aboutMenuItem); |
337 | 366 |
@@ -356,7 +385,7 @@ public class TextKeyMatcherView extends FrameView { | ||
356 | 385 | .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
357 | 386 | .addGroup(statusPanelLayout.createSequentialGroup() |
358 | 387 | .addComponent(statusMessageLabel) |
359 | - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 268, Short.MAX_VALUE) | |
388 | + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 260, Short.MAX_VALUE) | |
360 | 389 | .addComponent(statusAnimationLabel) |
361 | 390 | .addGap(151, 151, 151)) |
362 | 391 | .addComponent(progressBar, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) |
@@ -629,6 +658,7 @@ public class TextKeyMatcherView extends FrameView { | ||
629 | 658 | private javax.swing.JScrollPane dataViewTableSP; |
630 | 659 | private javax.swing.JTable dateViewTable; |
631 | 660 | private javax.swing.JRadioButtonMenuItem existsLeftRadioButtonMenuItem; |
661 | + private javax.swing.JMenu helpMenu; | |
632 | 662 | private javax.swing.JPopupMenu.Separator jSeparator1; |
633 | 663 | private javax.swing.JPopupMenu.Separator jSeparator2; |
634 | 664 | private javax.swing.ButtonGroup keyButtonGroup; |
@@ -65,3 +65,4 @@ confirm.discard.message=Are you sure you want to discard your changes? | ||
65 | 65 | onNew.Action.accelerator=shortcut N |
66 | 66 | onLoad.Action.accelerator=shortcut O |
67 | 67 | onSave.Action.accelerator=shortcut S |
68 | +aboutMenuItem.text=\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831...(A) |
@@ -1,30 +1,30 @@ | ||
1 | 1 | |
2 | -fileMenu.text=\u30d5\u30a1\u30a4\u30eb | |
3 | -dataMenu.text=\u30c7\u30fc\u30bf | |
4 | -keyMenu.text=\u30ad\u30fc | |
5 | -viewMenu.text=\u8868\u793a | |
6 | -helpMenu.text=\u30d8\u30eb\u30d7 | |
7 | -newMenuItem.text=\u65b0\u898f | |
8 | -openMenuItem.text=\u958b\u304f | |
9 | -saveMenuItem.text=\u4fdd\u5b58 | |
10 | -loadDataMenuItem.text=\u30c7\u30fc\u30bf\u306e\u53d6\u8fbc\u307f | |
11 | -removeMenuItem.text=\u524a\u9664 | |
12 | -mergeMenuItem.text=\u7d50\u5408 | |
13 | -textNormalRadioButtonMenuItem.text=\u6587\u5b57\u5217 | |
14 | -textIgnoreCaseRadioButtonMenuItem.text=\u6587\u5b57\u5217(\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u3092\u7121\u8996) | |
15 | -numberRadioButtonMenuItem.text=\u6570\u5024 | |
16 | -allRadioButtonMenuItem.text=\u3059\u3079\u3066 | |
17 | -matchedRadioButtonMenuItem.text=\u4e00\u81f4\u306e\u307f | |
18 | -unmatchedRadioButtonMenuItem.text=\u4e0d\u4e00\u81f4\u306e\u307f | |
19 | -existsLeftRadioButtonMenuItem.text=\u5de6\u7aef\u30ab\u30e9\u30e0\u304c\u7a7a\u6b04\u4ee5\u5916 | |
20 | -missingLeftRadioButtonMenuItem.text=\u5de6\u7aef\u30ab\u30e9\u30e0\u304c\u7a7a\u6b04 | |
2 | +fileMenu.text=\u30d5\u30a1\u30a4\u30eb(F) | |
3 | +dataMenu.text=\u30c7\u30fc\u30bf(D) | |
4 | +keyMenu.text=\u30ad\u30fc(K) | |
5 | +viewMenu.text=\u8868\u793a(V) | |
6 | +helpMenu.text=\u30d8\u30eb\u30d7(H) | |
7 | +newMenuItem.text=\u65b0\u898f(N) | |
8 | +openMenuItem.text=\u958b\u304f(O) | |
9 | +saveMenuItem.text=\u4fdd\u5b58(S) | |
10 | +loadDataMenuItem.text=\u30c7\u30fc\u30bf\u306e\u53d6\u8fbc\u307f(I) | |
11 | +removeMenuItem.text=\u524a\u9664(R) | |
12 | +mergeMenuItem.text=\u7d50\u5408(M) | |
13 | +textNormalRadioButtonMenuItem.text=\u6587\u5b57\u5217(T) | |
14 | +textIgnoreCaseRadioButtonMenuItem.text=\u6587\u5b57\u5217(\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u3092\u7121\u8996)(I) | |
15 | +numberRadioButtonMenuItem.text=\u6570\u5024(N) | |
16 | +allRadioButtonMenuItem.text=\u3059\u3079\u3066(A) | |
17 | +matchedRadioButtonMenuItem.text=\u4e00\u81f4\u306e\u307f(M) | |
18 | +unmatchedRadioButtonMenuItem.text=\u4e0d\u4e00\u81f4\u306e\u307f(N) | |
19 | +existsLeftRadioButtonMenuItem.text=\u5de6\u7aef\u30ab\u30e9\u30e0\u304c\u7a7a\u6b04\u4ee5\u5916(1) | |
20 | +missingLeftRadioButtonMenuItem.text=\u5de6\u7aef\u30ab\u30e9\u30e0\u304c\u7a7a\u6b04(2) | |
21 | 21 | onImportData.Action.text= |
22 | 22 | onImportData.BlockingDialog.title=\u30ed\u30fc\u30c9\u4e2d |
23 | 23 | onImportData.BlockingDialog.optionPane.message=\u3057\u3070\u3089\u304f\u304a\u5f85\u3061\u304f\u3060\u3055\u3044 |
24 | 24 | onImportData.Action.accelerator=shortcut I |
25 | 25 | onImportData.Action.shortDescription=\u30a4\u30f3\u30dd\u30fc\u30c8 |
26 | 26 | dateViewTable.gridColor=153, 153, 153 |
27 | -showAboutBox.Action.text=\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831... | |
27 | +showAboutBox.Action.text=\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831(&A)... | |
28 | 28 | showAboutBox.Action.shortDescription=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u958b\u304f |
29 | 29 | StatusBar.messageTimeout=5000 |
30 | 30 | StatusBar.busyAnimationRate=30 |
@@ -55,3 +55,4 @@ confirm.discard.message=\u5909\u66f4\u3092\u7834\u68c4\u3057\u3066\u3082\u3088\u | ||
55 | 55 | onNew.Action.accelerator=shortcut N |
56 | 56 | onLoad.Action.accelerator=shortcut O |
57 | 57 | onSave.Action.accelerator=shortcut S |
58 | +aboutMenuItem.text=\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831...(A) |
@@ -0,0 +1,68 @@ | ||
1 | +# Resources for the TextKeyMatcherView class | |
2 | + | |
3 | +# top-level menus | |
4 | + | |
5 | +fileMenu.text = \u30d5\u30a1\u30a4\u30eb | |
6 | +helpMenu.text = \u30d8\u30eb\u30d7 | |
7 | + | |
8 | +# @Action resources | |
9 | + | |
10 | +showAboutBox.Action.text = \u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831... | |
11 | +showAboutBox.Action.shortDescription = Show the application's information dialog | |
12 | + | |
13 | +# status bar resources | |
14 | + | |
15 | +StatusBar.messageTimeout = 5000 | |
16 | +StatusBar.busyAnimationRate = 30 | |
17 | +StatusBar.idleIcon = busyicons/idle-icon.png | |
18 | +StatusBar.busyIcons[0] = busyicons/busy-icon0.png | |
19 | +StatusBar.busyIcons[1] = busyicons/busy-icon1.png | |
20 | +StatusBar.busyIcons[2] = busyicons/busy-icon2.png | |
21 | +StatusBar.busyIcons[3] = busyicons/busy-icon3.png | |
22 | +StatusBar.busyIcons[4] = busyicons/busy-icon4.png | |
23 | +StatusBar.busyIcons[5] = busyicons/busy-icon5.png | |
24 | +StatusBar.busyIcons[6] = busyicons/busy-icon6.png | |
25 | +StatusBar.busyIcons[7] = busyicons/busy-icon7.png | |
26 | +StatusBar.busyIcons[8] = busyicons/busy-icon8.png | |
27 | +StatusBar.busyIcons[9] = busyicons/busy-icon9.png | |
28 | +StatusBar.busyIcons[10] = busyicons/busy-icon10.png | |
29 | +StatusBar.busyIcons[11] = busyicons/busy-icon11.png | |
30 | +StatusBar.busyIcons[12] = busyicons/busy-icon12.png | |
31 | +StatusBar.busyIcons[13] = busyicons/busy-icon13.png | |
32 | +StatusBar.busyIcons[14] = busyicons/busy-icon14.png | |
33 | +newMenuItem.text=\u65b0\u898f | |
34 | +openMenuItem.text=\u958b\u304f | |
35 | +saveMenuItem.text=\u4fdd\u5b58 | |
36 | +dataMenu.text=\u30c7\u30fc\u30bf | |
37 | +loadDataMenuItem.text=\u30c7\u30fc\u30bf\u306e\u53d6\u8fbc\u307f | |
38 | +removeMenuItem.text=\u524a\u9664 | |
39 | +mergeMenuItem.text=\u7d50\u5408 | |
40 | +keyMenu.text=\u30ad\u30fc | |
41 | +textNormalRadioButtonMenuItem.text=\u6587\u5b57\u5217 | |
42 | +textIgnoreCaseRadioButtonMenuItem.text=\u6587\u5b57\u5217(\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u3092\u7121\u8996) | |
43 | +numberRadioButtonMenuItem.text=\u6570\u5024 | |
44 | +viewMenu.text=\u8868\u793a | |
45 | +allRadioButtonMenuItem.text=\u3059\u3079\u3066 | |
46 | +matchedRadioButtonMenuItem.text=\u4e00\u81f4\u306e\u307f | |
47 | +unmatchedRadioButtonMenuItem.text=\u4e0d\u4e00\u81f4\u98f2\u307f | |
48 | +existsLeftRadioButtonMenuItem.text=\u5de6\u7aef\u30ab\u30e9\u30e0\u304c\u7a7a\u6b04\u4ee5\u5916 | |
49 | +missingLeftRadioButtonMenuItem.text=\u5de6\u7aef\u30ab\u30e9\u30e0\u304c\u7a7a\u6b04 | |
50 | +onImportData.BlockingDialog.title=\u30ed\u30fc\u30c9\u4e2d | |
51 | +onImportData.BlockingDialog.optionPane.message=\u3057\u3070\u3089\u304f\u304a\u5f85\u3061\u304f\u3060\u3055\u3044 | |
52 | +onImportData.Action.accelerator=shortcut I | |
53 | +onImportData.Action.shortDescription=\u30a4\u30f3\u30dd\u30fc\u30c8 | |
54 | +onImportData.Action.text= | |
55 | +#NOI18N | |
56 | +dateViewTable.gridColor=153, 153, 153 | |
57 | +onSave.Action.text= | |
58 | +onSave.Action.shortDescription= | |
59 | +onLoad.Action.text= | |
60 | +onLoad.Action.shortDescription= | |
61 | +onNew.Action.shortDescription= | |
62 | +onNew.Action.text= | |
63 | +confirm.discard.title=CONFIRM | |
64 | +confirm.discard.message=Are you sure you want to discard your changes? | |
65 | +onNew.Action.accelerator=shortcut N | |
66 | +onLoad.Action.accelerator=shortcut O | |
67 | +onSave.Action.accelerator=shortcut S | |
68 | +aboutMenuItem.text=\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831... |