-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hi Joh,
sorry it's very confusing.
You must adapt it to your Component IDs like this:
public void onCreate$imWnd(Event event) throws Exception {
Map<String, Object> args = getCreationArgsMap(event);
if (args.containsKey("energy")) {
String energy = (String) args.get("energy");
System.out.println(energy);
} else {
//
}
}
best Stephan