/** This is the elements of our panel, for each rule, we got a switch button, a textfield to write the rule and an hint label that is useless for now */
/** This is the elements of our panel, for each rule, we got a switch button, a textfield to write the rule and an hint label give example of sentences */
privateJButton[]bswitch=newJButton[nbf];
privateJTextField[]prflabel=newJTextField[nbf];
privateJLabel[]hintlabel=newJLabel[nbf];
...
...
@@ -36,9 +36,9 @@ public class IGPpanel extends graphics.guiSkeleton.guiPanel.GUIPanel{
/**
* ActionListener to parse an instruction.
* Should be modified soon. Now change the color of the textfield in green if the
* Change the color of the textfield in green if the
* instruction is correct, and in red otherwise.
* TODO We should find some more harmonious colors and add them to GUIColorAndFonts.
* And add the new instruction to the FollowerBehaviour fob
*/
parselistener=newActionListener[nbf];
...
...
@@ -91,21 +91,6 @@ public class IGPpanel extends graphics.guiSkeleton.guiPanel.GUIPanel{