I would like to know, where do I initialise my DrawingCanvas class (referred in 2d drawing app) using the GUI Builder (old one).
Also, how would I change the stroke color for each button that refers to the GUI Builder?
package userclasses;
import com.codename1.ui.Component;
import com.codename1.ui.Form;
import com.codename1.ui.events.ActionEvent;
import generated.StateMachineBase;
import com.codename1.ui.util.Resources;
/**
*
* @author Your name here
*/
public class StateMachine extends StateMachineBase{
public StateMachine(String resFile) {
super(resFile);
// do not modify, write code in initVars and initialize class members there,
// the constructor might be invoked too late due to race conditions that might occur
}
/**
* this method should be used to initialize variables instead of
* the constructor/class scope to avoid race conditions
*/
@Override
protected void initVars(Resources res) {
}
}