Committed Paul King's code; fixed some lockups; added mnemonics

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1862 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2003-04-24 20:53:37 +00:00
parent 65954a2ad2
commit a8bff8b017
3 changed files with 5 additions and 8 deletions

View File

@ -10,11 +10,11 @@
<CLASS Type="TFiles">
<PROPERTY Name="CurrentIndex">0</PROPERTY>
<CLASS Type="TFile">
<PROPERTY Name="CaretLeft">11</PROPERTY>
<PROPERTY Name="CaretTop">176</PROPERTY>
<PROPERTY Name="CaretLeft">32</PROPERTY>
<PROPERTY Name="CaretTop">283</PROPERTY>
<PROPERTY Name="FileName">$(PROJECT)\src\net\sourceforge\pmd\gel\PMDPlugin.java</PROPERTY>
<PROPERTY Name="WindowLeft">1</PROPERTY>
<PROPERTY Name="WindowTop">163</PROPERTY>
<PROPERTY Name="WindowTop">253</PROPERTY>
</CLASS>
<CLASS Type="TFile">
<PROPERTY Name="ProjectID">{C34B000D-B5C9-415F-933A-552FB0590E44}</PROPERTY>

View File

@ -267,6 +267,7 @@ public class PMDPlugin implements GelAction {
JPanel buttonsPanel = new JPanel();
buttonsPanel.setBorder(padding);
JButton processButton = new JButton("Process");
processButton.setMnemonic('p');
buttonsPanel.add(processButton);
processButton.addActionListener(
new ActionListener() {
@ -279,6 +280,7 @@ public class PMDPlugin implements GelAction {
}
});
JButton cancelButton = new JButton("Cancel");
cancelButton.setMnemonic('c');
buttonsPanel.add(cancelButton);
cancelButton.addActionListener(
new ActionListener() {

View File

@ -1,5 +0,0 @@
package net.sourceforge.pmd.gel;
public class Test {
private int y;
}