geting error when using string in j2me wireless toolkit.
String s=tb.getString(); //where tb is my textbox
in above code
C:\WTK20\apps\myprogram\src\myprogram.java:44: cannot access java.lang.StringBuilder
class file for java.lang.StringBuilder not found
I suggest you update/upgrade your development environment. WTK 2.0 is ancient history, 2.5.1 was out at least two years ago and was superseded by the Java ME SDK 3.0, presently in version 3.0.5.
I haven't used the WTK for so long (and don't presently have it installed) that I can't remember whether there's an option to set the compile target version. If you can't upgrade to a more recent IDE, just search around in the options.