テキストの各行をキーと値に分離し、複数テキストファイルを読み込み、キーを突き合わせ照合し、その結果を表示するGUIユーテリティです。
リビジョン | 965f86c3bcc4f4ca6a94af9448a5bdcaaaef9e85 (tree) |
---|---|
日時 | 2011-10-16 17:00:38 |
作者 | seraphy <seraphy@dime...> |
コミッター | seraphy |
ショットカットキー対応
@@ -10,12 +10,12 @@ | ||
10 | 10 | <Layout> |
11 | 11 | <DimensionLayout dim="0"> |
12 | 12 | <Group type="103" groupAlignment="0" attributes="0"> |
13 | - <Component id="dataViewTableSP" alignment="0" pref="487" max="32767" attributes="0"/> | |
13 | + <Component id="dataViewTableSP" alignment="0" pref="464" max="32767" attributes="0"/> | |
14 | 14 | </Group> |
15 | 15 | </DimensionLayout> |
16 | 16 | <DimensionLayout dim="1"> |
17 | 17 | <Group type="103" groupAlignment="0" attributes="0"> |
18 | - <Component id="dataViewTableSP" alignment="0" pref="404" max="32767" attributes="0"/> | |
18 | + <Component id="dataViewTableSP" alignment="0" pref="388" max="32767" attributes="0"/> | |
19 | 19 | </Group> |
20 | 20 | </DimensionLayout> |
21 | 21 | </Layout> |
@@ -35,7 +35,6 @@ | ||
35 | 35 | <Property name="autoResizeMode" type="int" value="0"/> |
36 | 36 | <Property name="gridColor" type="java.awt.Color" resourceKey="dateViewTable.gridColor"/> |
37 | 37 | <Property name="name" type="java.lang.String" value="dateViewTable" noResource="true"/> |
38 | - <Property name="showGrid" type="boolean" value="true"/> | |
39 | 38 | <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> |
40 | 39 | <TableHeader reorderingAllowed="true" resizingAllowed="true"/> |
41 | 40 | </Property> |
@@ -70,7 +69,6 @@ | ||
70 | 69 | <Property name="action" type="javax.swing.Action" editor="org.netbeans.modules.swingapp.ActionEditor"> |
71 | 70 | <action class="textkeymatcher.ui.TextKeyMatcherView" id="onNew" methodName="onNew"/> |
72 | 71 | </Property> |
73 | - <Property name="mnemonic" type="int" value="78"/> | |
74 | 72 | <Property name="text" type="java.lang.String" resourceKey="newMenuItem.text"/> |
75 | 73 | <Property name="name" type="java.lang.String" value="newMenuItem" noResource="true"/> |
76 | 74 | </Properties> |
@@ -287,27 +285,28 @@ | ||
287 | 285 | <Layout> |
288 | 286 | <DimensionLayout dim="0"> |
289 | 287 | <Group type="103" groupAlignment="0" attributes="0"> |
290 | - <Component id="statusPanelSeparator" alignment="0" pref="454" max="32767" attributes="0"/> | |
291 | - <Group type="102" alignment="0" attributes="0"> | |
292 | - <EmptySpace max="-2" attributes="0"/> | |
293 | - <Component id="statusMessageLabel" min="-2" max="-2" attributes="0"/> | |
294 | - <EmptySpace pref="258" max="32767" attributes="0"/> | |
295 | - <Component id="progressBar" min="-2" max="-2" attributes="0"/> | |
296 | - <EmptySpace max="-2" attributes="0"/> | |
297 | - <Component id="statusAnimationLabel" min="-2" max="-2" attributes="0"/> | |
288 | + <Group type="102" attributes="0"> | |
298 | 289 | <EmptySpace max="-2" attributes="0"/> |
290 | + <Group type="103" groupAlignment="0" attributes="0"> | |
291 | + <Group type="102" attributes="0"> | |
292 | + <Component id="statusMessageLabel" min="-2" max="-2" attributes="0"/> | |
293 | + <EmptySpace pref="268" max="32767" attributes="0"/> | |
294 | + <Component id="statusAnimationLabel" min="-2" max="-2" attributes="0"/> | |
295 | + <EmptySpace min="-2" pref="151" max="-2" attributes="0"/> | |
296 | + </Group> | |
297 | + <Component id="progressBar" alignment="1" min="-2" max="-2" attributes="0"/> | |
298 | + </Group> | |
299 | 299 | </Group> |
300 | 300 | </Group> |
301 | 301 | </DimensionLayout> |
302 | 302 | <DimensionLayout dim="1"> |
303 | 303 | <Group type="103" groupAlignment="0" attributes="0"> |
304 | - <Group type="102" alignment="0" attributes="0"> | |
305 | - <Component id="statusPanelSeparator" min="-2" pref="2" max="-2" attributes="0"/> | |
304 | + <Group type="102" alignment="1" attributes="0"> | |
305 | + <Component id="progressBar" min="-2" max="-2" attributes="0"/> | |
306 | 306 | <EmptySpace max="32767" attributes="0"/> |
307 | 307 | <Group type="103" groupAlignment="3" attributes="0"> |
308 | 308 | <Component id="statusMessageLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
309 | 309 | <Component id="statusAnimationLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
310 | - <Component id="progressBar" alignment="3" min="-2" max="-2" attributes="0"/> | |
311 | 310 | </Group> |
312 | 311 | <EmptySpace min="-2" pref="3" max="-2" attributes="0"/> |
313 | 312 | </Group> |
@@ -315,15 +314,6 @@ | ||
315 | 314 | </DimensionLayout> |
316 | 315 | </Layout> |
317 | 316 | <SubComponents> |
318 | - <Component class="javax.swing.JSeparator" name="statusPanelSeparator"> | |
319 | - <Properties> | |
320 | - <Property name="name" type="java.lang.String" value="statusPanelSeparator" noResource="true"/> | |
321 | - </Properties> | |
322 | - <AuxValues> | |
323 | - <AuxValue name="JavaCodeGenerator_VariableLocal" type="java.lang.Boolean" value="true"/> | |
324 | - <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/> | |
325 | - </AuxValues> | |
326 | - </Component> | |
327 | 317 | <Component class="javax.swing.JLabel" name="statusMessageLabel"> |
328 | 318 | <Properties> |
329 | 319 | <Property name="name" type="java.lang.String" value="statusMessageLabel" noResource="true"/> |
@@ -387,6 +377,6 @@ | ||
387 | 377 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> |
388 | 378 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> |
389 | 379 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> |
390 | - <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-47,0,0,1,-25"/> | |
380 | + <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-77,0,0,1,-48"/> | |
391 | 381 | </AuxValues> |
392 | 382 | </Form> |
@@ -179,7 +179,6 @@ public class TextKeyMatcherView extends FrameView { | ||
179 | 179 | javax.swing.JMenu helpMenu = new javax.swing.JMenu(); |
180 | 180 | javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem(); |
181 | 181 | statusPanel = new javax.swing.JPanel(); |
182 | - javax.swing.JSeparator statusPanelSeparator = new javax.swing.JSeparator(); | |
183 | 182 | statusMessageLabel = new javax.swing.JLabel(); |
184 | 183 | statusAnimationLabel = new javax.swing.JLabel(); |
185 | 184 | progressBar = new javax.swing.JProgressBar(); |
@@ -197,18 +196,17 @@ public class TextKeyMatcherView extends FrameView { | ||
197 | 196 | org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(textkeymatcher.TextKeyMatcherApp.class).getContext().getResourceMap(TextKeyMatcherView.class); |
198 | 197 | dateViewTable.setGridColor(resourceMap.getColor("dateViewTable.gridColor")); // NOI18N |
199 | 198 | dateViewTable.setName("dateViewTable"); // NOI18N |
200 | - dateViewTable.setShowGrid(true); | |
201 | 199 | dataViewTableSP.setViewportView(dateViewTable); |
202 | 200 | |
203 | 201 | javax.swing.GroupLayout mainPanelLayout = new javax.swing.GroupLayout(mainPanel); |
204 | 202 | mainPanel.setLayout(mainPanelLayout); |
205 | 203 | mainPanelLayout.setHorizontalGroup( |
206 | 204 | mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
207 | - .addComponent(dataViewTableSP, javax.swing.GroupLayout.DEFAULT_SIZE, 487, Short.MAX_VALUE) | |
205 | + .addComponent(dataViewTableSP, javax.swing.GroupLayout.DEFAULT_SIZE, 464, Short.MAX_VALUE) | |
208 | 206 | ); |
209 | 207 | mainPanelLayout.setVerticalGroup( |
210 | 208 | mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
211 | - .addComponent(dataViewTableSP, javax.swing.GroupLayout.DEFAULT_SIZE, 404, Short.MAX_VALUE) | |
209 | + .addComponent(dataViewTableSP, javax.swing.GroupLayout.DEFAULT_SIZE, 388, Short.MAX_VALUE) | |
212 | 210 | ); |
213 | 211 | |
214 | 212 | menuBar.setName("menuBar"); // NOI18N |
@@ -219,7 +217,6 @@ public class TextKeyMatcherView extends FrameView { | ||
219 | 217 | |
220 | 218 | javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(textkeymatcher.TextKeyMatcherApp.class).getContext().getActionMap(TextKeyMatcherView.class, this); |
221 | 219 | newMenuItem.setAction(actionMap.get("onNew")); // NOI18N |
222 | - newMenuItem.setMnemonic('N'); | |
223 | 220 | newMenuItem.setText(resourceMap.getString("newMenuItem.text")); // NOI18N |
224 | 221 | newMenuItem.setName("newMenuItem"); // NOI18N |
225 | 222 | fileMenu.add(newMenuItem); |
@@ -343,8 +340,6 @@ public class TextKeyMatcherView extends FrameView { | ||
343 | 340 | statusPanel.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 32)); |
344 | 341 | statusPanel.setName("statusPanel"); // NOI18N |
345 | 342 | |
346 | - statusPanelSeparator.setName("statusPanelSeparator"); // NOI18N | |
347 | - | |
348 | 343 | statusMessageLabel.setName("statusMessageLabel"); // NOI18N |
349 | 344 | |
350 | 345 | statusAnimationLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); |
@@ -356,25 +351,24 @@ public class TextKeyMatcherView extends FrameView { | ||
356 | 351 | statusPanel.setLayout(statusPanelLayout); |
357 | 352 | statusPanelLayout.setHorizontalGroup( |
358 | 353 | statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
359 | - .addComponent(statusPanelSeparator, javax.swing.GroupLayout.DEFAULT_SIZE, 454, Short.MAX_VALUE) | |
360 | 354 | .addGroup(statusPanelLayout.createSequentialGroup() |
361 | 355 | .addContainerGap() |
362 | - .addComponent(statusMessageLabel) | |
363 | - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 258, Short.MAX_VALUE) | |
364 | - .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) | |
365 | - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | |
366 | - .addComponent(statusAnimationLabel) | |
367 | - .addContainerGap()) | |
356 | + .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | |
357 | + .addGroup(statusPanelLayout.createSequentialGroup() | |
358 | + .addComponent(statusMessageLabel) | |
359 | + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 268, Short.MAX_VALUE) | |
360 | + .addComponent(statusAnimationLabel) | |
361 | + .addGap(151, 151, 151)) | |
362 | + .addComponent(progressBar, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) | |
368 | 363 | ); |
369 | 364 | statusPanelLayout.setVerticalGroup( |
370 | 365 | statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
371 | - .addGroup(statusPanelLayout.createSequentialGroup() | |
372 | - .addComponent(statusPanelSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 2, javax.swing.GroupLayout.PREFERRED_SIZE) | |
366 | + .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, statusPanelLayout.createSequentialGroup() | |
367 | + .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) | |
373 | 368 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
374 | 369 | .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
375 | 370 | .addComponent(statusMessageLabel) |
376 | - .addComponent(statusAnimationLabel) | |
377 | - .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) | |
371 | + .addComponent(statusAnimationLabel)) | |
378 | 372 | .addGap(3, 3, 3)) |
379 | 373 | ); |
380 | 374 |
@@ -49,7 +49,7 @@ existsLeftRadioButtonMenuItem.text=Exists First Column | ||
49 | 49 | missingLeftRadioButtonMenuItem.text=Missing First Column |
50 | 50 | onImportData.BlockingDialog.title=Loading... |
51 | 51 | onImportData.BlockingDialog.optionPane.message=wait a moment |
52 | -onImportData.Action.accelerator=meta pressed I | |
52 | +onImportData.Action.accelerator=shortcut I | |
53 | 53 | onImportData.Action.shortDescription=import data |
54 | 54 | onImportData.Action.text= |
55 | 55 | #NOI18N |
@@ -61,4 +61,7 @@ onLoad.Action.shortDescription= | ||
61 | 61 | onNew.Action.shortDescription= |
62 | 62 | onNew.Action.text= |
63 | 63 | confirm.discard.title=CONFIRM |
64 | -confirm.discard.message=Are you sure you want to discard your changes? | |
\ No newline at end of file | ||
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 |
@@ -21,7 +21,7 @@ missingLeftRadioButtonMenuItem.text=\u5de6\u7aef\u30ab\u30e9\u30e0\u304c\u7a7a\u | ||
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 | -onImportData.Action.accelerator=meta pressed I | |
24 | +onImportData.Action.accelerator=shortcut I | |
25 | 25 | onImportData.Action.shortDescription=\u30a4\u30f3\u30dd\u30fc\u30c8 |
26 | 26 | dateViewTable.gridColor=153, 153, 153 |
27 | 27 | showAboutBox.Action.text=\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831... |
@@ -52,3 +52,6 @@ onNew.Action.shortDescription= | ||
52 | 52 | onNew.Action.text= |
53 | 53 | confirm.discard.title=\u78ba\u8a8d |
54 | 54 | confirm.discard.message=\u5909\u66f4\u3092\u7834\u68c4\u3057\u3066\u3082\u3088\u308d\u3057\u3044\u3067\u3059\u304b? |
55 | +onNew.Action.accelerator=shortcut N | |
56 | +onLoad.Action.accelerator=shortcut O | |
57 | +onSave.Action.accelerator=shortcut S |