@@ -33,19 +33,19 @@ public void performAction() {
3333 ClassPaintComponent comp = (ClassPaintComponent ) panel .getSelectTool ()
3434 .getSelectedComponents ().get (0 );
3535
36- AddLazyJavaConstructorGlobalAction assiciatedAction = (AddLazyJavaConstructorGlobalAction ) ActionName .ADD_LAZY_JAVA_CONSTRUCTOR_ACTION
37- .getAssiciatedAction ();
38- assiciatedAction .setComponent (comp );
36+ AddLazyJavaConstructorGlobalAction associatedAction = (AddLazyJavaConstructorGlobalAction ) ActionName .ADD_LAZY_JAVA_CONSTRUCTOR_ACTION
37+ .getAssociatedAction ();
38+ associatedAction .setComponent (comp );
3939 String desiaredConstructorIndex = JOptionPane
4040 .showInputDialog ("Please enter the index of the constructor you would like to use: \n \n \n "
41- + getConstructorsSelectionUI (assiciatedAction
41+ + getConstructorsSelectionUI (associatedAction
4242 .getConstructor ()));
4343 //call DialogInputChecker to check input
4444 DialogInputChecker inputChecker = new DialogInputChecker ();
4545 if (inputChecker .isValidNumber (desiaredConstructorIndex )){
46- assiciatedAction .setConstructorIndex (Integer .parseInt (desiaredConstructorIndex ));
47- assiciatedAction .setCoord (panel .getWidth () / 2 , panel .getHeight () / 2 );
48- GlobalPaintActionExecuter .getSharedInstance ().execute (assiciatedAction ,
46+ associatedAction .setConstructorIndex (Integer .parseInt (desiaredConstructorIndex ));
47+ associatedAction .setCoord (panel .getWidth () / 2 , panel .getHeight () / 2 );
48+ GlobalPaintActionExecuter .getSharedInstance ().execute (associatedAction ,
4949 panel );
5050 }
5151 }
0 commit comments