Menu item icon not updating

Hi,
I have an action into which I set an Icon:
action.putValue(Action.SMALL_ICON, icon1);
now I set this action into my menu item and show the item in a menu. The item displays correctly and the icon is visible.
later in the program i do:
action.putValue(Action.SMALL_ICON, icon2);
then I open the menu but the menu item still shows icon1 until I roll over it with the cursor when it finally changes to icon2.
Any ideas on how to make this update immediate?
BTW at the point of changing the icon, I don't have access to the menu item or the frame etc, just the action.
Thanks a lot,
Jim

Anyone got any more ideas?Maybe you have a programming problem, but we can't see your code so we don't know for sure.
If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

Similar Messages

  • JNLP related-content issue in JRE 7u5 Sub Menu Item link not working

    we are having an issue with our existing Web Start Application in Java Version 7 Update 2 and above where the Sub Menu items are not being associated with Internet Explorer with href link as Target when using <related-content> tag in JNLP. This is working fine in JRE 1.6, JRE 1.7.0 and 1.7.1. I have tried using Integration Service to programatically create these shortcuts in JRE 1.7.5 but was unsuccessful.
    <jnlp spec="6.0+" codebase="http://..." href="xyz.jnlp">
    <information>
    <title>ABC</title>
    <vendor>ABC Vendor</vendor>
    <homepage href=""/>
    <description>ABC Desc</description>
    <description kind="short">ABC Desc Short</description>
    <icon href="abc.gif" kind="default"/>
    <offline-allowed/>
    <shortcut online="true" install="true">
    <desktop/>
    <menu submenu="ABC"/>
    </shortcut>
    <related-content href="help.doc">
    <title>ABC Help</title>
    <icon href="help.gif"/>
    </related-content>
    <related-content href="Uninstall.html">
    <title>Uninstall Page</title>
    <icon href="uninstall.gif"/>
    </related-content>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="timeout" policy="always"/>
    <resources>
    <java initial-heap-size="128m" max-heap-size="256m" version="1.6+"/>
    <jar href="ABC.jar" download="eager" main="true"/>
    </resources>
    <application-desc main-class="com.main.Abc"/>
    </jnlp>
    Any help in this regard would be greatly appreciated.

    I haven't filed this as a bug in Java development yet but am going to do so soon, In the mean time i was hoping to see if anyone else is on the same boat as me and if there was a work around.

  • "Hyperion" menu item does not appear in Excel after SmartView Installation

    Hi to all! When I first installed SmartView, everything was ok - "Hyperion" menu item appeared in Excel and I successfully established connection to Planning and worked with data in Excel. Then, once upon a time I happened to select all data through Ctrl+A in the data form open in Excel and tried to copy it to another worksheet in the same workbook, Excel threw out a message about some serious error and informed me that the Hyperion Add-on would be removed. So it was removed in fact. When I was reinstalling Smart-View, all the installation went smoothly but the "Hyperion" menu item did not appear in Excel again. I tried to reinstall both Excel and SmartView and rebooted the system several times but the Hyperion menu item still does not appear in Excel. Can anyone hint me on how to solve this? Thanks a lot in advance!

    Hi, John! Thanks a lot! Your link led me to the thread in which the last post had the link Re: Smart View errors in Excel?! containing the "low-tech" 's instructions. It was these instructions that pulled me from underwater! Thank you so much and to that guy too! :)

  • Items qty not updated  in VL02

    Hi,
            I've searched in forum.I've got solution.I've 26 line items and want to update all the records.It updates only 24 items remaining 2 items are not updated.Because the screen size is for 12 items.Please assist me.
    n = 1.
    LOOP AT it1 WHERE vbeln = it-vbeln.
    CONCATENATE 'LIPSD-G_LFIMG(' n ')' INTO a.
    PERFORM bdc_field USING a it1-G_LFIMG.
    n = n + 1.
    IF n gt 12 .
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=P+'.
    n = 1.
    PERFORM bdc_dynpro USING 'SAPMV50A' '0220'.
    ENDIF.
    ENDLOOP.
    PERFORM bdc_dynpro USING 'SAPMV50A' '0220'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=SICH'.
    Thanks
    Bala

    Hi BP,
              If i give P++,it directly goes to the last page.It was not update the middle records like13,14th items.
    Thanks
    Bala.

  • Windows and icons are black, menu items are not showing correctly

    Hello!
    Well just doing my normal routine today browsing the Internet, watching videos on vlc, my computer suddenly started to glitch. Icons were disappearing, Safari turned black.
    So i did a restart but the problem is still there. I cant even choose the user properly because the avatars are not there it's just all dark gray. Remembering where my user avatar is, i do a click and type in my password and I do and able to get in to my system but all windows menu items and icons are black.
    Basically what I'm saying is the system seems to be working fine except for that I can't see the icons and windows properly displayed.
    I've already tried to reinstall of Mavericks hoping that it's a software thing. You guys think it's a problem with the graphic processor?
    Any help or suggestions will be appreciated thank you.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It changes nothing, and therefore will not, in itself, solve your problem.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The procedure will help identify which such modifications you've installed, as well as certain other aspects of the configuration that may have a bearing on the problem. Don’t be alarmed by the apparent complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode, if possible. If you’re now running in safe mode, reboot as usual before continuing. If you can only boot in safe mode, you can still use this procedure, but not all of it will work. Be sure to mention that in your reply, if you haven't already done so. 
    Below are instructions to enter UNIX shell commands. The commands are safe and do nothing but produce human-readable text output, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. I am not asking you to trust me. If you can't satisfy yourself that these instructions are safe, don't follow them.
    The commands will line-wrap or scroll in your browser, but each one is really just a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it.
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. Step 1 should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    { echo "Loaded kernel extensions:"; kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'; echo $'\n'"Loaded user agents:"; launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'; echo $'\n'"Inserted libraries:"; launchctl getenv DYLD_INSERT_LIBRARIES; echo $'\n'"User cron tasks:"; crontab -l; echo $'\n'"System launchd configuration:"; cat /e*/lau*; echo $'\n'"User launchd configuration:"; cat .lau*; echo $'\n'"Login items:"; osascript -e 'tell application "System Events" to get name of login items' | sed $'s/, /\\\n/g'; echo $'\n'"Safari extensions:"; /usr/libexec/PlistBuddy -c Print L*/Saf*/*/E*.plist | awk -F'= ' '/Bundl/{print $2}' | sed 's/\..*$//;s/-[1-9]$//'; printf "\nRestricted user files: %s\n" $(find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l); echo $'\n'"Extrinsic loadable bundles:"; cd; find -L /S*/L*/E* {,/}L*/{Ad,Compon,Ex,In,Keyb,Mail/Bu,P*P,Qu,Scripti,Servi,Spo}* -type d -name Contents -prune | while read d; do /usr/libexec/PlistBuddy -c 'Print :CFBundleIdentifier' "$d/Info.plist" | egrep -qv "^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|JMicron|print|SoftRAID" && echo ${d%/Contents}; done; echo $'\n'"Unsigned shared libraries:"; find /u*/{,*/}lib -type f -exec sh -c 'file -b $1 | grep -qw shared && ! codesign -v $1' {} {} \; -print; echo; ls -A {,/}L*/{La,Priv,Sta}* L*/Fonts; } 2> /dev/null | open -ef
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    The command may take up to a few minutes to run, depending on how many files you have and the speed of the computer. A TextEdit window will open with the output. Post the contents of the TextEdit window (not the Terminal window) — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Remember that you must be logged in as an administrator for this step. Do as in Step 1 with this line:
    { echo "Loaded system agents:"; sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo $'\n'"Login hook:"; sudo defaults read com.apple.loginwindow LoginHook; echo $'\n'"Root cron tasks:"; sudo crontab -l; echo $'\n'"Log check:"; syslog -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|find tok|n Cause: -|NVDA\(|pagin|timed? ?o' | tail | awk '/:/{$4=""; print}'; } 2> /dev/null | open -ef
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    You can then quit Terminal.
    To prevent confusion, I'll repeat: When you type your password in the Terminal window, you won't see what you're typing.
    Note: If you don’t have a login password, set one before taking Step 2. If that’s not possible, skip the step.
    Important: If any personal information, such as your name or email address, appears in the output of these commands, anonymize it before posting. Usually that won't be necessary.
    Remember, Steps 1 and 2 are all copy-and-paste — no typing, except your password. Also remember to post the output as text, not as a screenshot.
    Please post the contents of the TextEdit window, not the Terminal window.

  • CS Live Icon not updating due to Adobe Story

    This is terribly annoying. The icon in Photoshop will not update, even though I have already signed in and used Adobe Story, despite it being completely useless to me in my line of work. What do I have to do to get it to recognize I have seen the service and unflag? Or is it possible to remove items from that list or something?
    Any help would be greatly appreciated. Thanks!

    hi,
    I think you are talking about the 'blue start icon' that is appearing infront of the 'adobe story' link.
    If that's the case than it's a bug which is persent in CS5 and has been fixed in 'soon to be released update'
    for now there is a workaround:
           1) close photoshop and kill 'cs5servicemanager' process from activity monitor
           2) now delete the cache folder (location of cache folder shown below, click to enlarge)
        3) start photoshop and verify
    thanks
    ratnesh
    adobe story team

  • "Send link..." context menu item does not launch the mail client

    This was working in Firefox 12 but with the latest update to Firefox 13.x no mail client is launched (mine is Thunderbird) when context menu item "Send link..." is clicked.
    '''I have tried this with all addons disabled''' but the same problem is occurring.
    Does it happen for you? If not, how could I solve it?
    I will report as a bug if others have this problem.
    Thanks.

    I changed the network.protocol-handler.external.mailto setting in about:config to the default value (true) and that seemed to fix it.
    I don't know what changed it before though.

  • Menu items are not highlighted after Design Studio Client 1.3 upgrade

    Hi expert I used DS_CLIENT00_0-20011685 patch to update my client. After update I do not see the menu items.
    Please help with this.Below is the screen.

    Hi,
    if this is what you see after start, it it is possible that you face a general issue on Java Runtime level (which version do you have installed)? or on memory allocation level.
    do you see any log file located in your workspace? search for *.log. can be that there are some basic exceptions.
    also, I do not know if this is upgrade or fresh install.. you can try to uninstall, delete the content of the folder under C:\Program Files (x86)\SAP BusinessObjects\Design Studio\... and then install from scratch again. could be that the upgrade went wrong.
    Regards, Karol

  • Menu toolbar icons not displayed in colour when deployed on the Web

    Hello!
    We are developing an application using Forms6i on Windows NT.
    Our problem is that menu toolbar icons are not displayed in colour when the application is deployed on the Web using lookAndFeel = generic. This is the case both when using Microsoft IE5 and Netscape 4.5. When lookAndFeel = oracle, however, the icons are displayed in colour.
    The icons are stored as *.gif files in the same directory as the application *.html file. It does not help to create a virtual path /web_icons/ in the www listener and edit the parameter default.icons.iconpath in the file Registry.dat.
    When running the application as client/server, the menu toolbar icons are displayed in colour as expected.
    Any ideas on how to solve this problem?
    Regards,
    Kjell Pedersen
    Nera SatCom AS
    Norway
    null

    Hi,
    I got the same problem and I didn't figure out, how to solve this problem.
    But did you try to printout the form anyway? I guess you will see the icons on the printout, won't you?
    Regards
    Dirk

  • Asset Line items are not updating in table ANEP

    Hi friends,
    I found that asset line items are not getting updated in ANEP table,.
    This is my precedure for posting of depreciation.
    I'll create Asset through AS01, then i'll use the T.Code: F-90.. then i'll run the depreciation program thru t.Code: AFAB.
    In but i am unable to capture the values of Planned and Depreciated or Posted values in ANEP.. Is there is any other table for this...
    Where is the mistake in my process..
    thanks in advance..
    Naveen

    HI Naveen
    The FI-AA documents are stored in tables ANEK (document header), ANEP (document line items) and ANEA (proportional values). You can use FI-AA standard report RABEWG_ALV01 to list all transactions to an asset in one fiscal year, and report RAABGA_ALV01 to list only retirement postings.
    ANEA should be the solution you are looking for.
    Hope it helps!
    Cheers
    Z

  • I just downloaded Firefox 4 and it does NOT look like it is supposed to look - My menu items are not in a single button, etc... as displayed in Step 2 of getting to know your browser on the welcome page for Mozilla Firefox 4. Can anyone help?

    This webpage [http://example.com http://www.mozilla.com/en-US/firefox/central/ ]shows what Firefox 4 should look like. My Firefox 4 does not have the menu items grouped and I have no app tab. All in all, my Firefox 4 is not what it should be... does anyone know why this might be and how I should go about fixing it? thanks :)

    To get the new UI you need to hide the menu bar. To do that in the View menu select Toolbars, then click on the "Menu Bar" entry.
    If you need access to the menus you can press either Alt or F10 to temporarily display them.

  • Line Item Text not updated in SPL

    Hi All,
    Can anyone help me in this regard.
    When we change the Line Item Text in FI document the same has not been updated in SPL. Can anyone know the required configuration to be done in order to populate the changed items in SPL.
    Any help is highly appreciated.
    Thanks,
    Srini

    HI,
    a text change in general ledger line item will not be forwarded to spec. ledger automatically (as the change of a line item text triggers no posting to spec. ledger).
    But as you know the document relationship from GL doc. to SL doc go to the corresponding SL doc. and change the text if this is really needed (don't understand why the line item text is that important).
    Best regards, Christian

  • Automatic Product Selection item value not updated in S067

    Hello,
    We have a requirement for Automatic product selection based on ATP with pricing at item level. This is working fine.
    But the value of the subitem is not updated in open delivery value S067 after saving the delivery.
    The item category is marked as credit active. update group is 15.
    If i do main item pricing then the value is getting updated successfully.
    I check several notes but nothing helped.
    Pls. help.
    Regards,
    Praveen

    assigned it in sales order at item level in Billing tab
    Assign the same at header level billing tab in sale order.
    thanks
    G. Lakshmipathi

  • Desktop item info not updating

    I searched but could not find a previous issue about this:
    The item info underneath my mounted drives on my desktop does not update.
    For example my boot HD says 161.7 MB free underneath, while if I command-i, it says the correct free space as 2.7gb.
    I read in a similar issue that the .DS_store is slow to update, and I assume this maybe the problem?
    Is there a way (such as apple script) to force this to update frequently?

    Hello Sam:
    FWIW, mine are exactly the same, although I do not check frequently.
    Barry

  • FrameMaker update book icon not updating and custom formatting help

    Hi,
    I am fairly new to FrameMaker, and I am currently experiencing two issues:
    First Issue
    I am currently trying to create a book that currently has three chapters. I am trying to break it out into the following format:
    Main TOC - includes all the headers and related pages for the entire book
    Mini TOC - includes a mini TOC that highlights all the headers and pages associated with Chapter Source File A
    Chapter Source File A - includes all related content to Chapter Source File A
    Mini TOC - includes a mini TOC that highlights all the headers and pages associated with Chapter Source File B
    Chapter Source File B - includes all related content to Chapter Source File B
    Mini TOC - includes a mini TOC that highlights all the headers and pages associated with Chapter Source File C
    Chapter Source File C - includes all related content to Chapter Source File C
    Whenever I click the Update Book icon, however, it does not update the headers and page numbers. They still remain the same way when I first generated them. This occurs for both the main TOC and mini TOC.
    Second Issue
    In addition to the format structure I designed for my book, I also wanted to create a custom format look that remains constant whenever I update my TOC. I have tried testing this, but I noticed every time I generate a new TOC it is always in the unformatted FrameMaker style which you have reformat each time.
    Is there a way to create a custom format look that can retain the design and simply update the TOC headers and page numbers each time it needs to be updated?
    Any help is greatly appreciated
    Thank you!

    First I'd highly recommend getting Matt Sullivan's Publishing Fundamentals: Unstructured FM11 book - it's a pretty complete reference one to have on FM.
    Second, it sounds like you may not have your ToC reference pages set up correctly - if nothing changes when you've added content that should have created more ToC headings and shift pages around, then something is amiss. Your formatting problem is solved by doing a bit of a dodge - you create a ToC and generate it, then replace it with your formatted .fm doc keeping the exact name as the generated doc; then update again. Now the content is formatted the way you want and keeps being updated each time you update.

Maybe you are looking for

  • I want more than one site, all with personal domain names

    I have a dot mac account and I created a personal website using iweb (www.personalname.com) and now I would like to make a site for my business using iweb (www.businessname.com). Is that even possible? I've followed directions from other people. i kn

  • Error - 1418! HELP!!

    hey, I try to turn the iPod on and when i press on play so the orange and green light starts to blink. i read that that's because there is an error so i connected the iPod to the computer and the iTunes told me i've got to restore the iPod. so i pres

  • Mount Functionality in Nautilus Gone !!

    I have been using Arch sence November. Up untill yesterday, I realized that when I am in Nautilus, I have always seen my Other HD and partitions. I could mount them by clicking on my choice, give my password, and they would be mounted. I can no longe

  • Needing to add keep pool to SGA, sizing and checking for room?

    Hi all, I'm needing to experiment with pinning a table and index (recommended by COTS product vendor) to see if it helps performance. I'm trying to set up a keep pool...and put the objects in it I've gone into the database, and found that I will need

  • PalmOS: IndexOutOfBoundsException in DataInputStream.read

    Hi, I'm getting IndexOutOfBoundsException when calling DataInputStream's readInt() in my midlet. The code works fine under J2MEwtk emulators, but with POSE (and on my Hansdpring too) I'll get the exception. Method below tries to download a recordstor