Fix lexical mismatch

This commit is contained in:
Natalia.Ukhorskaya
2013-09-18 17:41:05 +04:00
parent ecab2a2039
commit b0236b2dc3
2 changed files with 4 additions and 4 deletions
@@ -111,7 +111,7 @@ public class CopyIntoPanel {
return hasErrorsState;
}
public void setLabelWight(int wight) {
copyIntoLabel.setPreferredSize(new Dimension(wight, -1));
public void setLabelWidth(int width) {
copyIntoLabel.setPreferredSize(new Dimension(width, -1));
}
}
@@ -67,12 +67,12 @@ public abstract class CreateJavaScriptLibraryDialogBase extends DialogWrapper im
copyJsFilesPanel = new CopyIntoPanel(project, defaultPathToJsFile, "Copy &runtime files to:");
copyJsFilesPanel.addValidityListener(validityListener);
copyJsFilesPanel.setLabelWight(110);
copyJsFilesPanel.setLabelWidth(110);
copyJsFilesPlace.add(copyJsFilesPanel.getContentPane(), BorderLayout.CENTER);
copyLibraryFilePanel = new CopyIntoPanel(project, defaultPathToJar, "Copy &headers to:");
copyLibraryFilePanel.addValidityListener(validityListener);
copyLibraryFilePanel.setLabelWight(110);
copyLibraryFilePanel.setLabelWidth(110);
copyLibraryPlace.add(copyLibraryFilePanel.getContentPane(), BorderLayout.CENTER);
if (!showPathToJarPanel) {