Adding label to Center button on Canvas

I have an application based on the Canvas class, and I would like to add a label to the center button on the screen. The application is a muliti-choice list, so I would like this label to be variable based on if the item is selected or not.

... ... an application based on the Canvas class ... ...j2me apps are based on the MIDlet class. No two ways about it. Your application probably uses or extends Canvas for its primary UI.
... ... I would like to ... ...{color:#000080}So what have you done so far? You need to use
-- pointerPressed(), paint(...)
-- ItemStateListener, itemStateChanged(...)
and whatever you code will not be device independent.
There is at least one Motorola model on which the call button and not the center button fires pointerPressed().
If you have a problem with your code, ask a specific question. To post code, use code tags --{color} [code]CODE[/code] {color:#000080}is displayed as CODEdb{color}
edit{color:#000080} Answer this too: Are you going to follow this topic through and let us know whether your problem is solved or are you going to drop it like you did your last topic?
{color}{color:#0000ff}http://forum.java.sun.com/thread.jspa?threadID=5220400{color}
Edited by Darryl.Burke

Similar Messages

  • Some Songs On iPod Don't Display Artwork Until Center Button is Pressed

    Okay, I just got my computer revamped so I had my itunes library file and all the songs saved but I reinstalled iTunes. Now some songs on my ipod are acting weired by displaying all the song info to the left (the firmware calls for them to center when there is no album artwork) and when the center button is pressed twice you see the album artwork as if nothing was wrong. Now no one dare say restore it because that is my backup plan if all else fails. Here are Blured but recognizable pictures of the problem
    http://srv0201-03.sjc3.imeem.com/g/p/ab5e10d23fea6f101a2ccba3938874cb_web.jpg
    http://srv0201-03.sjc3.imeem.com/g/p/6e16bdbecff3c4552ec464d0f7670404_web.jpg

    The only thing that does fix it is removing the artwork, syncing, adding the artwork, and syncing again. Obviously that's a pain because I have to go into "get info", clicking "artwork" and removing it from there one by one because the feature "Clear Downloaded Artwork" seems to not work.

  • Any secrets to get the center button working on a 5th gen?

    Due to my wife using my 5g for solitare, my center button has stopped working. Everything else is still working great, but I can't navigate or play the music I want.
    Any suggestions?

    No there's not. As an example, when the Late 2006 version of the 5th Generation iPod was introduced it had a new search feature, this was not added retrospectively to the earlier model. The changes made to the iPod Classic and the other models are much more extensive than that one and no official firmware was ever released to update previous models.

  • My classic is stuck on a blank screen and it won't connect to any device or reset when I hold the menu and center buttons. Any ideas what's up and how to fix it?

    I know click hold on and off then hold the menu and center button until the apple logo appears. I have tried this so many times and my iPod Classic is still unresponsive! I've tried plugging my iPod into my Mac, my wall charger, my ihome, everything, but nothing works. It won't connect to iTunes to restore or anything. I've tried leaving it unplugged long enough to let the battery die and then tried plugging it in, a method I've utilized successfully with other iPods but that didn't work either. I really just starting to lose faith in the quality of this product. The first classic I bought didn't work at all and I had to exchange it. This one I bought to replace my 5 year old nano and it hasn't even lasted 7 months! Somebody please offer me a solution and assure me that I didn't waste $250 on a crap piece of technology. I'm desperate!

    Although you say you have let the battery drain, was it for long enough? Since nothing else that you've tried so far has worked, I suggest that you leave the iPod unplugged for at least four days, preferably a week. That way, if something is stopping the iPod from turning the screen on, then whatever it is will drain the battrey. However, since the screen isn't on, that may take longer than if the screen was on.
    Then, after that time, plug the iPod into a power source and leave it alone for at least thirty minutes. Only after thirty minutes will it show any signs of life, but you should leave it until it is fully charged before trying to use it.
    If you get to this stage, the fact that the battery has drained will cause the iPod to reset when it springs back to life.
    Let us know how you get on.

  • My center button is not working on my ipad2

    The center button on my ipad2 stopped working.  Any ideas---please I need help

    Have you tried restarting the iPad? Sometimes if you haven't restarted in a long period of time, weird things can occur.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • IPod restarts every time I click the center button

    Every time I click the center button to go into the music folder, my iPod restarts, so I can't get into those files. It sometimes happens when going in to the extras folder as well. What do I do?!

    Do you have any podcasts on your ipod?
    My nano has a very strange problem with resetting too, whenever I transfer a podcast to the ipod, listen to them using the 'Podcasts' folder itunes makes in the ipod's music folder(not playlists, but in the root music menu, before playlists), then delete just the podcast itself instead of the whole podcast folder, then I try going back into the music menu on the ipod, it restarts every time.
    Only fix I've been able to come up with is just creating a new playlist for just podcasts, and putting my podcasts in that playlist and deleting the 'Podcasts' folder that itunes creates everytime I transfer a podcast to the ipod.

  • User exit/ BADI in f-32 / f-28 for adding application tool bar button

    Hi Experts,
    There is a requirement, for adding application tool bar button in the Transaction codes F-32 / F-28 / Feba_lockbox. So that while clearing documents with reference document, they can upload the data(Reference Documents) from local file and after the data is fetched for clearing, they need to download the data to local file for verification. If the data is verified to be okay, then they can go ahead with simulation and posting. They need this verification to be done in excel sheet, so need to download the data into local file.
    I found a BADI in that screen is BADI_LAYER but I don't think it is relevant.         
    Any help is apreciated!
    Is there any EXIT ? Because I can not find it too.
    Regards,
    Nitin

    where you did the enhancement?
    I have to create the IDOC once Clear docuemnt is created.. It may help me.

  • In Adobe Acrobat XPro, my text label on the button disappears

    Hello,
    I have created a button in my form in Adobe Acrobat XPro. This button is set to Save and Send so that the form gets emailed.
    The text on the button, "Save and Send" disappears when I preview the form.
    Any ideas as to how to fix?
    Thanks.

    Did you set the label of the button?

  • Hi I was using whatsapp on my iPhone5.I was not able go to the main menu by pressing the center button so I hold on to the button for 2 seconds.Then the whole display turned out to be black

    I was not able go to the main menu from whatsapp by pressing the center button so I hold on to the button for 2 seconds.Then the whole display turned out to be black & white. how can i fix it?

    Hello monicaa003,
    Thanks for participating in the Apple Support Communities.
    If your iPhone display turned black and white after holding down the Home button for 2 seconds, first try pressing the Home button again to go to the main menu (Home screen.)
    For reference, holding down the Home button for 2 seconds will trigger Siri if that feature is enabled:
    About Siri - Apple Support
    If pressing the Home button doesn't return you to the main menu, try restarting or resetting your iPhone:
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    Additionally, if Whatsapp is not responding or working as expected, see the troubleshooting steps at this link:
    If an app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
    Best Regards,
    Jeremy

  • When I navigate web with Firefox my Thinkpad trackpoint center button is not working. With other web browsers it works well. Where is the problem in firefox, how to enable TrackPoint center button?

    When I navigate web with Firefox my Thinkpad trackpoint center button is not working. With other web browsers it works well. Where is the problem in firefox, how to enable TrackPoint center button?

    I have exactly the same settings in Options (in both computers)
    for history, these 2 add-ons and all other stuff in Options. The only difference is that on 1 pc sessions can be saved and closed tabs can be reopened, on other main pc they stopped to work. + no any other add-on that does similar things works on this pc.
    It is also interesting that I can reopen closed visited sites from History Panel, but not by pressing the Button. For now I only manually bookmark links to a temporary folder.
    Recently (some 2 month ago) I pressed x and Firefox closed all tabs without saving them without displaying save & quit pop up.
    so I changed 4 settings in about.config
    browser.tabs.warn on close true
    browser.warn on quit true
    browser.warn on restart true
    browser.show.quit warning true
    but the problem with sessions appeared only 1 week ago.
    So I guess the problem is not with the History settings or other settings. Seems that something responsible for button or for storing info about tabs/sessions got corrupted. :(

  • My Ipod recently wheel and center button stopped working. Help?

    I was putting music on my ipod, I ejected it then when i went to unlock it it unlcoked but the center button and wheel will not work. Yes, I have restored again and agian. i have also let it completely die. I know the button is not broken because it will go to home im i hom edown the ceter button and the menu. Helpp pleaseeeeeeee !?

    Try restoring...
    iTunes: Backing up, updating, and restoring your iPhone, iPad, or iPod touch software
    If you can't restore the iPod...
    Apple - Support - iPod - Service FAQ

  • Problem turning ipod on, need to hold down menu & center button

    I have a 30gb ipod and it will not always turn on when i try to turn it on. I constantly have to hold the menu and center button down together to get it to turn on. It doesn't matter if it's charged, plugged in, just used, not used for a couple of days...it's random but it happens more often than not, I'd say 8 out of 10 or 80% of the time I have to turn it on that way. Is this normal or should I take it back while it's still under warranty? Otherwise, I have no problems with it. The battery life is great, etc...
    Thanks in advance!!
    Jen

    I have a similar issue, Jen. I find that when I haven't turned mine on for, say, a day or more, I will press the play button to turn it on and nothing happens. Unlike you (you said you hold the menu and center buttons together, which sounds like a reset) I then press the menu button alone and then press play again. The darkened screen comes on with the "grayish" looking Apple logo...and all is well.
    I've had my iPod for about 8 months, and I've been doing this since early on. I guess I always figured it just a minor bug and I would live it. If I'm still under warranty, wonder if I should consider raising the issue???

  • Center Button Will Not Work???

    Hi everybody,
    Here is my problem: my select/center button on my 3rd generation iPod nano is not working. I went to itunes on my computer, and clicked restore, now on my iPod it's stuck to the language setting. What do I do?
    Message was edited by: Nick61312

    You should go to the Apple Store, to get a new iPod Nano, there is a malfunction in your iPod's center button, i don't think restoring it helped at all, my guess is that it's a hardware problem.

  • Center Button Not Working Correctly

    I just bought a 30gb Ipod today and when I operate the wheel and center button, about half of the time the center button doesnt work until I touch the wheel.
    Example. I wheel down to "music" and click center and it goes to the next screen, then wheel down to "album" and nothing happens until I touch the wheel again. This happens maybe half the time. Am I doing something wrong? Should I return it? It is a small problem, but an annoying one, and for a brand new $250 device, I want it to be perfect.

    Hi Nick,
    This could be either a more software-oriented problem with your iPod, or hardware.
    Let's start out by resetting your iPod. To reset an iPod:
    First, toggle your iPod's "Hold" switch back and forth a couple of times. (be sure to leave it on the white side of the switch, which is teh off position)
    Then, press and hold the Menu and Select (center) buttons together for 5-10 seconds.
    You might need to attempt at this several times. For more effect, try connecting your iPod to a power source while you try with the resetting.
    Also, you could try restoring your iPod to factory settings. For instructions on how to restore an iPod, check out this Knowledge Base article:
    Restoring iPod to factory settings
    -Kylene

  • Center button not working

    My ipod nano 1gb plays, but the center button won't allow me to select specific songs. It doesn't recognize when I press to select from the menu (ie., "music >"). I've reset it several times... any ideas?
    dell   Windows XP  
    dell   Windows XP  

    Perhaps it is time for a full restore?
    Patrick

Maybe you are looking for