Can't find textbox class - help please!

I'm posting this again, in the hope that more people might help. I already know that the error means that the compiler can't find the class Textbox. I need to know why, because I've copied the relevant parts of the code from another app that builds fine. So why won't this build?
I'm trying to write and build my first J2ME app. My code starts:
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import java.lang.Math;
public class TestMIDlet
extends MIDlet
implements CommandListener
private Textbox tbMain;
public void startApp()
The build fails with numerous errors of which the first is:
C:\WTK22\apps\TestMIDlet\src\TestMIDlet.java:9: cannot find symbol
symbol : class Textbox
location: class TestMIDlet
private Textbox tbMain;
with the caret under the 'T' of Textbox
I don't understand what's wrong with this, as it's in many of the sample apps I've looked at.
Thanks
Ed

Thanks very much!
I've lost count of the times I've been caught by that case-sensitivity thing in Javascript. I thought it was just the first letter that had to be capitalised. Progress at last!

Similar Messages

  • I have a Ipod touch 2nd generation, and everytime I go into the app store to download spotify, it says i already have. But I can't find it anywhere. help please!!

    My ipod touch 2nd G says that it downloaded spotify, but i can't find the app anywhere. i downloaded it over itunes on my computer, because it wouldn't download on my ipod.

    Create a NEW account using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    Using those instructions you may also be able to select PayPal if that is allowed in your country.

  • Can't find on N95, help please!

    How to do it on N95?
    1. When I change the profile for example to meeting I want that it changes back after 2 hours, otherwise I forget to do it and miss the calls. I could do it on my old Nokia but can’t find it on N95.
    2. I can’t find the stop watch; I need to measure some process time often. Once again I could do it on my…
    3. I can’t use my TomTom Navigator 6 with the incorporated GPS; does somebody know if it arrives soon or at all?

    01-Nov-200709:03 AM
    piko wrote:
    1. When I change the profile for example to meeting I want that it changes back after 2 hours, otherwise I forget to do it and miss the calls. I could do it on my old Nokia but can’t find it on N95.
    Don't think that's available on N-Series phones - you'd have to check for 3rd party apps
    01-Nov-200709:03 AM
    piko wrote:
    2. I can’t find the stop watch; I need to measure some process time often. Once again I could do it on my…
    Not available on N-Series either - you need a 3rd party app like TimeMachine (around US$5).
    01-Nov-200709:03 AM
    piko wrote:
    3. I can’t use my TomTom Navigator 6 with the incorporated GPS; does somebody know if it arrives soon or at all?
    TomTom still doesn't work with the internal GPS - there are rumours of upcoming fixes from TomTom so you should keep checking there site.
    Other routing software like Route66 does work with the internal GPS.
    If you have an external Bluetooth GPS you might be better off using it anyway as the built-in one is apparently way slow at getting a fix.Message Edited by patc on 01-Nov-200710:44 AM

  • Can't Find Pattern Swatches - Help Please

    Very new to Illustrator, ( CC ) sorry.
    I'm trying to make a repeating pattern, but any way I access it, there are no patterns in the pattern libraries, only color schemes for those patterns. Where did the patterns go? How do I get them back?  The category names are there, I can click on Nature, Vegetables, etc... but there are no vegetables. Only color squares.

    Thanks for the replies.  I went to Window - Swatches - from there clicked on the libraries icon in the lower left corner. I did see that certain swatches are available. But in the vegetable example, it just shows a color scheme, which I wasn't expecting. The same for Nature, Flowers, etc. ; things you would expect to have an actual graphic. 

  • Apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    Thanks Barney, I tried that but all that comes up in Spotlight are the log files that show the file paths! I don't know how Steam works. Are all the files held by Steam on their server perhaps?

  • My mom put my ipod 5th gen in the house somewhere and it was turned off. It is connected to the internet in the house. How do i turn it on with the Findmyiphone or something else? It was an expensive gift and we can't find it now! Please help!

    My mom put my ipod 5th gen in the house somewhere and it was turned off. It is connected to the internet in the house. How do i turn it on with the Findmyiphone or something else? It was an expensive gift and we can't find it now! Please help! How do i turn it on without finding it because she can't remember where it was.

    That is so dumb...Apple is the best and most techinological company IN THE WORLD and they don't have the time to invent something like that? HUH? All they are worried about is making the "Worlds best Phone" and they can't take the time out to help their users or anybody that has their products. All they have is "Find mt Iphone" Well they should step up and do something else to help people like me out. Find a way to turn it on and you can find it or find a way to turn it on remotely.
    Thank you for your replys

  • I just purchased Time Capsule today.  I ONLY want to use it as an external drive.  I do not need it for Time Machine. I can see the TC in my finder, but when I click on a file or video to drag and drop, I get message that TC can't be modified. Help please

    I just purchased Time Capsule today.  I ONLY want to use it as an external drive.  I do not need it for Time Machine. I need to free up room on my computer. As of now, I can't even load updates. I can see the TC in my finder, but when I click on a file or video to drag and drop, I get message that TC can't be modified. Help please!

    I agree with Kappy.. passing files and especially via wireless is slow as slow.
    Just need to be sure your TC is the new AC model??
    And the OS on the computer is Lion?
    Have you completed the setup of the TC via the utility? You do still need to get internet via the TC so it has to be plugged into the main router..
    Give us the full picture of the network.
    Then we can help you get into it.. whether you should put your files on it is another question.

  • I use iphone4,but can't find apple store application please help me

    I use iphone4,but can't find apple store application please help me

    Malek,
    Facetime for iphone is not available in the App Store because it is already built into any iphone that is FaceTime compatible, and I think that includes iphone 4.  You should be able to find Facetime amongst the other built in applications that came with it.  However, it is possible that if it was purchased in certain countries where Facetime is not allowed, the App was not included.

  • I can't find my redemption code, please help!

    I can't find my redemption code, please help!

    You have purchased Creative Cloud Photography plan on Sept. 26, 2014.
    If the CC is asking for serial number then please follow the steps in http://helpx.adobe.com/creative-cloud/kb/ccm-prompt-serial-number.html
    To download the CC purchased you need to install &activate it. Please refer to
    http://helpx.adobe.com/creative-cloud/help/install-apps.html
    Download and Installation Help
    Hope it resolves your issue.
    Regards
    Rajshree

  • I had 900  songs on my computer which i saved to the icloud. My computer was given to my kids and now I can't find my music. Please help

    I had 900  songs on my computer which i saved to the icloud. My computer was given to my kids and now I can't find my music. Please help

    How did you save your music to iCloud?  Did you subscribe to iTunes Match?

  • I want to disable my password code. When I go to settings general - the password code is not there. Where else would it be located? I can't find it anywhere! Please help

    I want to disable my password code. When I go to settings>general - the password code is not there. Where else would it be located? I can't find it anywhere! Please help

    If you are running iOS 7, the passcode setting is under settings.  3 lines below general.
    HTH

  • How do i stop songs from repeating?  my music is on continuous replay of same song.  can't find anything in settings please help

    how do i stop songs from repeating?  my music is on continuous replay of same song.  can't find anything in settings please help

    Did you check the advanced song controls, it might be set to "repeat one song".

  • How can I find these classes---please!!

    where can I find these classes
    com.sun.media.protocol.dsound.*
    com.sun.media.protocol.sunvideo.*
    they are needed in a JMF program.

    Generally speaking, sun classes are for internal use only. That's not to say you can't call things in those classes, but documentation is hard to come by if at all.

  • Can't find main class - program will end

    Dear forum readers,
    Recently upgraded from Win2k pro to XP pro .. installation ran to conclusion w/ no fatal errors BUT upon booting new system I now receive an error message "Java Virtual Machine Launcher can't find main class, program will end" .. I am not aware that this error is causing any problems BUT it is annoying and I'd like to be able to fix the problem so I don't have to close the error message at each startup .. please help!
    Thanks in advance, Larry

    Try this
    java -XbootClasspath/a -jar <<Prog name>>
    I think you are trying in windows XP.
    Also you need to modify if there are any other jars to be reference. For eg if a.jar is also required for this try as below
    java -XbootClasspath/a:a.jar -jar <<Prog name>>

  • Installing 10g on Windows XP machine JVM launcher "Can't find main class"

    I am trying to install 10g Release 2 on a Windows XP machine. I downloaded the zip from the OTN. Unzipped the file. No problems. Tried to run the OUI, it opened up a shell and said to wait. The shell closed and a message frome the JVM Launcher displayed "Can't find main class. Program will exit." I have seen several people on this and other discussion boards having this problem, but have yet to get a solution. Please help.

    What's the value of CLASSPATH environment variable? Possibly a non-oracle application has set this variable and the installer catches it. If there is such a variable, comment it out and try again.

Maybe you are looking for

  • How can you view multi day events in month view without having to check the "all-day" box?

    I have multi-day events that I would like to be able to view in the month view.  The only way that I have found to do this is to make the event a "all-day" event.  Is there another way to view these events in month view, or am I stuck? 

  • Error message when trying to install Quicktime 7.2

    When I try to install Quicktime 7.2 on my MacBook Pro, I get a message saying that there was an error and I need to try again. When I have tried via Software Update, it says it has moved the download to the trash. I am running OS 10.4.10. If it is an

  • My computer reboots when i connect iphone 4

    Any ideas... I plug it in, it finds new hardware...thinks its a camera...and reboots itself. Happens if I tunes is already going or not. Was fine for the first few days then I took photos yesterday morning, now it reboots computer, Not much use havin

  • Wireless contection working but connection on main computer not working

    I was using my main computer last night and walked away from it for about 15 minutes.  When I came back it said there wasn't a connection to the internet and couldn't find one.  I restarted the router and computer but it did not help.  The connection

  • Tech tool issues

    I got the apple care package and installed the Tech tool program. It asks me to put in the password when I run the app, but i don't have a password. I un-installed and re-installed tech tool but it still asks for the passwrod. Pls tell me how can I r