Hey
In my midlet I've declared each of my text_boxes in ceperate methods apose to inline.
But when I call one of those methods more than once in any of my forms I get a "java.lang.IllegalStateException" error.
Is it possable to use one method that declares a text box more than once (thus using the text box more than once) ??
And if yes how do I do it?
the full error is:
java.lang.IllegalStateException
at javax.microedition.lcdui.Form.<init>(+109)
at GPRS_J2ME.NMBMobile.get_Voda_AirOther(+43)
at GPRS_J2ME.NMBMobile.commandAction(+2163)
at javax.microedition.lcdui.List.callKeyPressed(List.java:812)
at javax.microedition.lcdui.Display$DisplayAccessor.keyEvent(Display.java:2108)
at javax.microedition.lcdui.Display$DisplayManagerImpl.keyEvent(Display.java:2845)
at com.sun.midp.lcdui.DefaultEventHandler.keyEvent(DefaultEventHandler.java:255)
at com.sun.midp.lcdui.AutomatedEventHandler.keyEvent(AutomatedEventHandler.java:623)
at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.run(DefaultEventHandler.java:646)
null
Regards
Mia