Menu Option in j2me

Hi all,
I want to write a code in which i want to select one by one images using menu options..or sub menu option. If somebody have the menu option code or any good tutorial to have this j2me menu stuff... Plz send it....I will appreciate this.
Thanks,
[email protected]

javadev2
I think I can guess what you're trying to say. Don't worry, you'll pick up the terminology of Java (and the forums) as you progress.
Probably the reason you couldn't find what you want in Tips is that you were searching for something that doesn't exist. The menu you see on a CLDC / MIDP device (like a cellphone) is a list of the Command objects you add to your Form (I'm presuming you use a Form and not a Canvas).
What you need here is to swap the image displayed in the ImageItem on your Form -- right? (or maybe not!)
Look up the javadocs for javax.microedition.lcdui.ImageItem, particularly the Method public void setImage(Image img). Then look up javax.microedition.lcdui.Image, particularly the Method public static Image createImage(String name) throws java.io.IOException.
These are the Methods you may need to use in the commandAction Method in order to change the picture on your screen.
Read first, then get back if you're still confused, somebody will help you!
All the best, Darryl

Similar Messages

  • Menu options in ALV report

    Hi,
    Im not getting Menu options in ALV report output. Not even default menu options SYSTEM, HELP Its dispalying as <b>????????????????????????????????</b>. Can someone help me regarding this?
    Regards,
    amal

    Hi Amal,
                Check the screen number if you are using a seperate screen and Menu painter.
    Thanks and Regards,
    Sampath

  • Add value entered in a text box to drop down menu options

    hi everyone
    i am making a pdf form for medical imaging report. i have a text box where the users enters a number, i want this entered number to appear within a drop down menu options
    thanks

    Hi Alexander,
    I can explain you the details there is a list as you mentioned Newsletter with a column email in it you are right but for your answer ya i can use enforce unique values for that column but if i am using it it gives me an error in the next page what i want
    is just beside my text box to say that already registered user.I want that functionality that is what i meant.
    Thanks
    Eswar
    Eswar Chand Teki

  • All "timeline" menu options are greyed out in my copy of

    All "timeline" menu options appear greyed out in my version of Dreamweaver 8. I've tried deleting the cache file and the configuration folder, but without success. There was originaslly some reference to a Javascript error message reference timeline(), since when I've ensured my Java was updated. Any ideas please?

    For some reason, the Link > Framemaker document option was also greyed out when I created the project.  I had been having trouble with the .xpj file not being created by RH11 and reinstalled TCS5/RH11.  Then I created the project and was able to find and open the .xpj file.  Like I said, I found then that the  Link > Framemaker document option was greyed out and could only import the FM book.
    I recreated another project and see that the Link >   Framemaker document option is greyed out.  I can only use Link > Word document, which is of no use to me.  Any suggestions would be welcome!

  • Menu options in the Tools toolbar in EBS (R12).

    Hi,
    I would like to create a custom menu option under the Tools toolbar on a specific form. Could someone point me in the direction of any good documentation on how to do this?
    Regards
    Carl

    Developers Guide http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120devg.pdf has info on this, specifically the SPECIAL1 to SPECIAL45 triggers and section APP_SPECIAL: Menu and Toolbar Control.
    Regards,
    Gareth

  • Menu Options in responsibilities getting displayed in different language.

    Hi,
    When we are logging in with the English language in R12, the menu options for some responsibilities are displayed in different languages, which is looking very strange. This is happening to different responsibilities. can any one help me on this.

    Hi;
    What is exact EBS version
    It was working before? If yes what have been changed?
    Did you try to compile forms via adadmin?
    Please review:
         R12 System Administrator Menu is showing English values in any NLS language [ID 563008.1]
    Regard
    Helios

  • Invoking Discoverer Report from Zoom Menu Option

    HI there
    I've seen this on client site but never done it myself. Does anyone have any documentation or guidance on how to set up a form personalization so that the zoom menu option on a form links to a discoverer report, potentially passing parameter values to limit the data? Can forget the parameter side if it's complicated for now as we don't have any full requirements.
    Many thanks for any help
    Cheers, Kate

    Hi
    Zoom functionality is very simple just follow the bellow steps
    • Enter the Form Personalization form. (M) Help > Diagnostics > Custom Code > Personalize.
    • Rule Seq: 10
    • Description: Create Menu Item
    • Trigger Event: WHEN-NEW-FORM-INSTANCE
    • Context: User and set the value to your user name (don't forget to do this for every Rule you define)
    • Select the Actions tab
    • Actions Seq: 10
    • Type: Menu
    • Menu Entry: SPECIAL31
    • Menu Label: Discoverer Report
    • Rule Seq: 30
    • Description: Open Discoverer Report
    • Trigger Event: SPECIAL31
    • Context: User and set the value to your user name
    • Actions Seq: 10
    • Type: Builtin
    • Builtin Type: Launch a Function
    • Function Code: XXX---Function name
    • Function Name: wil be defaulted from the code
    • Save your work and exit all the forms.
    Try it out!!!

  • Problems in Limiting Export option in Web Analysis shortcut menu options

    Hi everyone,
    i'm trying to limit the shortcut menù option in Web Analysis studio following the instructions in the WA 9.3.1 user guide: "Limiting Web Analysis Studio Shortcut Menu Options" page 293. Exactly i would hyde the Export to some users (an user with Viewer and Expoler permissions).
    The problem is that the solution does not work.
    Resuming:
    First, I have created the WAMenu.xml file, with restrictions for the roles: Viewer and Explorer (using the same tags of the Sample XML File in the guide)
    Second, I have modified the WebAnalysis.properties file removing the # ahead this two lines:
    "WAStudioMenuControl= C:/Hyperion/Analyzer/conf/WAMenu.xml
    ModuleName=WebAnalysisStudio"
    and modified the path with the correct location of the XML file.
    At last, i have restart the services regarding Workspace and Web Analysis.
    But, it does not work. The user can still see the export options in the shortcut menu..I don't understand what is wrong..
    I really hope that someone can help me!!

    Hi Iain,
    thanks for answering.
    Unfortunately it doesn't restrict neither in the workspace nor in the WA studio.
    I made a lot of attempts, not only with export but also with other option, and there are no changes!!
    Do you remember if you made the same steps descripted above, or there is something that i did not make (or made wrong)??
    Cheers,
    Angelo

  • When I don't have the BROWSER menu option turned on, the WINDOW menu options are un-accessable by mouse

    First of all, I would like to clarify which "menu" is un-accessable.
    I'm referring to the menu that regardless of which program, a user can access by either clicking ALT + SPACE or by clicking the top left corner of the window. I'm NOT referring to the FIREFOX menu options, those I am fine with.
    Normally, I can just move my mouse to the top left corner and double click to close a program. I used to be able to do that too with firefox 3.6. However, due to the new design, when I click the top left corner, I get the orange Firefox drop down menu. This is because firefox, due to the new update, no longer has an independent window bar that is the norm across most programs. The only way I can get this independent menu bar is to enable the browser menu bar. This however, adds two entire layers of bars, which defeats one of the purposes of the update, to give more viewing space
    The Chrome browser also has the tab row on top, however, it doesn't have the issue I brought up. When I click the top left corner of the window, the regular WINDOW menu options pop up.
    The reason why this is important to me is due to the fact that I use two monitors. Normally, I can just move my cursor to the top right and close the window without looking for my right hand side monitor, and then double click the top left hand side of my left hand side monitor to close the window. This is because with a 2 monitor set up, the "X" close button is located inconvinently in the middle of my two screens, forcing me to aim for the tiny small red rectangle, which is why I prefere to double click the top left corner; I don't have to aim.
    I have long been a loyal user of firefox. Browsers like Chrome and others have been out ranking firefox for a long time, mozilla is only playing catch up here...
    While I am glad for the update - better speed due to JaegerMonkey, the added hardware acceleration, the tab groups, and more, if the window menu problem is not resolved soon, this update is going to force me to switch browsers.
    I look forward to a fix, or response on how to resolve this issue.
    Many thanks,
    Still a firefox user... for now

    it's possible but there is likely no need to do this. what exactly is wrong with your computer? a simple reinstall of snow leopard on top of your current system will cure many ills and will preserve your data and applications. and many problems can be solved without reinstalling at all.
    but if you insist on doing a wipe and install boot from the SL install DVD and start disk utility from utilities menu at the top. erase your hard drive using the erase tab in disk utility. then quit disk utility and proceed with the install. and if you do reinstall I suggest you back up your data first. otherwise it will be completely wiped when you erase your hard drive. and you should always back up anyway.
    Message was edited by: V.K.

  • How to open a menu option in IndesignCS3

    IS there any possible way to open a menu option in IndesignCS3 to use the cross-media Export & its sub option xhtml/Digital Edition

    Hi Guna,
    There is option for invoking those menus. so use this script for export as html.
    app.scriptPreferences.version = 5.0;
    var outputFile = File('/c/test/test.html');
    var document = app.activeDocument;
    var scriptPath = Folder.startup + '/Scripts/Export as XHTML/';
    var scriptFile = File(scriptPath + 'XHTMLExport.jsxbin');
    if (scriptFile.exists) {
    scriptFile.open();
    var script = scriptFile.read();
    scriptFile.close();
    eval(script);
    var opts = new XHTMLExportOptions();
    opts.styleHandling = XHTMLExportOptions.extStyleSheet;
    opts.styleSheet = 'template.css';
    opts.formatted = true;
    app.exportForWebPreferences.gifOptionsInterlaced = true;
    var exporter = new XHTMLExporter(scriptFile);
    var success = exporter.doExport(document, undefined, opts, outputFile); // check the results:
    if(success)
    /*if(exporter.outOfDateLinks.length > 0)
    alert('Exporting ' + document.name + ' succeeded\nHowever ' + exporter.outOfDateLinks.length + ' links were out of date.');
    else
    alert('Exporting ' + document.name + ' failed with this error message:\n' + exporter.error.message);

  • TS3716 I have an iPod nano (3rd generation). I've recently dowloaded iCloud. So now when I open iTunes the window is entirely different. And I don't have the previous menu options. I have downloaded audiobooks for years. Is it not supported by iOS5?

    I have an iPod nano (3rd generation). I've recently dowloaded iCloud. So now when I open iTunes the window is entirely different. And I don't have the previous menu options. I have downloaded audiobooks for years. Is it not supported by iOS5?
    Can I revert back to a previous version? Or must I upgrade to a newer device? Thank you for you expertise!!

    I have an iPod nano (3rd generation). I've recently dowloaded iCloud. So now when I open iTunes the window is entirely different. And I don't have the previous menu options. I have downloaded audiobooks for years. Is it not supported by iOS5?
    Can I revert back to a previous version? Or must I upgrade to a newer device? Thank you for you expertise!!

  • All of a sudden I can no longer open a new tab using either the icon on the tab bar, the keyboard short cut or the File menu option. I can open a new tab ONLY by clicking on a bookmark or link.

    All of a sudden I can no longer open a new tab using either the icon on the tab bar, the keyboard short cut or the File menu option. I can open a new tab ONLY by clicking on a bookmark or link

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    Your system details show that toolbar in the user agent as AskTbAD2/3.12.2.16749
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • TS4062 I cannot find my IPOD touch listed on ITunes (there is no "Device" menu option - any advice?

    I cannot find my IPOD touch listed on ITunes (there is no "Device" menu option in iTunes- any advice?). Using IPOD touch (32gb) and connecting with a laptop using Windows Vista. Downloaded the latest ITunes and it wiped all my music. I was able to recover the music purchased on Itunes (but not my CD downloads). I am having difficulty syncing my IPOD now and all of the help guides tell me that I need to use the "device" options to fix it but there is no "Device" options in my ITunes ribbon.

    Just the old fashioned way, like if you lost your wallet.
    Apple will not help.
    If it is in your home and wifi is on and connected you can call it with FaceTime, Skype or other app that will play a notification sound and listen for it.
    Report to police and change the passwords for all account used on the iPod

  • Microsoft Office for Mac open recent File menu option causing AFP to crash

    Hi all,
    We have an Xserve running Mac OS X Server Leopard 10.5.8. The Xserve hosts three file shares for about 60 users. Our network is 99% Mac based running mostly 10.5.8 with a few 10.6.x. We have historically over the past several years had the AFP service become unreliable and crash frequently. Late last week the AFP service crashes constantly. The quick solution to getting it up and running is to delete the AFP.conf file in /etc.
    We have troubleshot one cause of AFP crashing to the Open Recent... File menu option in Microsoft Office for Mac applications. That is, through some amount (haven't been able to narrow it down to how much) of opening documents on the share via the Open Recent menu the AFP service will crash.
    Here's what's happening in the AppleFileServer .crash file:
    Process: AppleFileServer [26065]
    Path: /usr/sbin/AppleFileServer
    Identifier: AppleFileServer
    Version: ??? (???)
    Code Type: X86 (Native)
    Parent Process: launchd [1]
    Date/Time: 2010-04-12 13:25:54.666 -0700
    OS Version: Mac OS X Server 10.5.8 (9L34)
    Report Version: 6
    Anonymous UUID: 273147DD-D725-4DAB-B403-95391FF85FE1
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000015
    Crashed Thread: XX
    ******** blah *********
    Thread XX Crashed:
    0 AppleFileServer 0x0004bc15 operator+(OSException&) + 103513
    1 AppleFileServer 0x00064988 operator+(OSException&) + 205260
    2 AppleFileServer 0x0006da4e operator+(OSException&) + 242322
    3 AppleFileServer 0x000711f3 operator+(OSException&) + 256567
    4 AppleFileServer 0x00071446 operator+(OSException&) + 257162
    5 AppleFileServer 0x00076686 operator+(OSException&) + 278218
    6 AppleFileServer 0x000790d7 operator+(OSException&) + 289051
    7 AppleFileServer 0x0004560c operator+(OSException&) + 77392
    8 AppleFileServer 0x00044269 operator+(OSException&) + 72365
    9 AppleFileServer 0x00044343 operator+(OSException&) + 72583
    10 libSystem.B.dylib 0x9587c155 pthreadstart + 321
    11 libSystem.B.dylib 0x9587c012 thread_start + 34
    This is followed by a lot of these entries in AppleFileService.log file:
    IP xx.xx.xx.xx - - [12/Apr/2010:13:25:54 -0800] "Login username" 0 0 0
    IP xx.xx.xx.xx - - [12/Apr/2010:13:25:54 -0800] "No matching key: username" 1271103954 1271103943 1
    ** - - [12/Apr/2010:13:26:15 -0800] "Mounted Volume VOLUME1" 0 0 0
    ** - - [12/Apr/2010:13:26:15 -0800] "Mounted Volume VOLUME2" 1 0 0
    ** - - [12/Apr/2010:13:26:15 -0800] "DiskArbStart -" 0 0 0
    Our solution is to have all our users turn off the open recent option in Word, Excel, and PowerPoint. Not an ideal solution but it may get the AFP service running "good enough."
    Has anyone had an experience like this before or can anyone duplicate the AFP service crashing when trying to open documents on a share via the open recent menu? Any other ideas?
    Thanks

    Update.
    I have been able to consistently reproduce a problem where the AFP service will crash if a file that a user has an alias to is moved to a folder and the user is denied access to .
    1. On your Mac create an alias to a file or folder, that you have access to, that is stored on a share served via AFP. The alias can be in the Places section of a Finder window, on the Desktop, or anywhere an alias can be created. Lets call what the alias points to the target.
    2. Move the target to a folder on the AFP share and deny the user or group Read & Write access to that folder.
    3. Try accessing the target via the alias created in step 1.
    The AFP service should crash.
    Can anyone reproduce this crash scenario too?

  • SQL Developer with Data Modeler, No Design Menu Option

    Using SQL Developer 3.0.04 Build MAIN-04.34 with Data Modeler. I have created a logical design and wish to forward engineer this to a relational model.
    I cannot seem to find the Design Menu option to use the >> Engineer to Relational Model option which is available under the Design Menu on the Stand Alone version of SQL Developer Data Modeler.
    Have checked the following locations:
    Tools -> Data Modeler
    View -> Data Modeler
    File -> Data Modeler
    Right Click on my Logical Design
    I have ensure that all my entities have the Engineer To property set to a valid Relational Model.
    Is this a bug or am I missing a menu option / configuration setting?
    Thanks in advance for any help
    John

    Hi John,
    you can find ">> Engineer to Relational Mode" button among other buttons for logical diagram.
    Philip

Maybe you are looking for

  • Installation fails on Mac Mini (Late '06)

    I have a Mac Mini (Late 2006, Macmini1,1, MA608LL/S) OS X with 10.6.8. On installing OSX Server 10.6, all system reqmt's are met (2GB RAM, freshly formatted 80Gb disk), but I got error message:  "Mac OS X cannot be installed on this computer." The HD

  • Add buttons in Sales Order's Addtional Data B Tab

    Hi All, I want to add buttons in Sales Order's Additional Data B tab. I had try to draw a creen in painter and push a button in the screen, also assign a fcode to it. I had try to test the button, and I find that, it could work, but after it's action

  • Dynamic Form Commenting

    Hello, I created a dynamic XFA form by LiveCycle Designer. I can not comment on form by using Acrobat. Why we can not comment on dynamic forms? Thank You Asiye

  • HOW DO I REMOVE ITUNES FROM MY I PHONE SECREEN

    I WAS UPDATE MY I PHONE THN PATRY IS FINESHED THAN MY I PHONE GOT BLOCK AT MY SECREEN SHOWING ITUNES IMAGE AND CAPEL PLS HELP ME

  • Lens Profile for Tokina 10-17mm

    I have just downloaded LR3 to try out the distoortion tool for a bunch of shots I took with my D200 and Tokina 10-17mm.  I understand this lens has not been added as yet by Adobe.  I have read I might be able to find a profile through the CS5 communi