Display window icon in diffrent resolutions.

I have written some aplications where i use the " setIconImage( ImageIcon ) " funktion.
The problem is that the icon used is displayed on the window in res. 16x16, on the window bar in XxX (depending on bar size) and when you press Alt+TAB in 24x24 i think. This means that you can not hava an icon there is sharp in every resolution. If you use a 24x24 icon the small icon becoms blury and the other way around.
So my qustion is if there any way to set an icon there is sharp every where it is shown like in other aplications (C/C++) ?
Maybe it is posible to overwrite some funktion used indirectly by the OS like :
getIconImage(int preferred_res)
or maybe add some listener to the window and then setIconImage() arcording to the curent state ?

Do anyone know how this works in linux eg. gnome where it seams fine for other non java programs.
And as far as I know linux programs don't use *ico files. I have tryed to use different png files form linux programs but with no luck. Maby the png has to have some special feture. Like "no specific resolution" , but i don't know how those png's work.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

Similar Messages

  • How to display the icons of apk files in windows explorer

    How to display the icons of apk files(android apps) in windows explorer by default in windows 7 and windows 8.1 ?

    Believe it or not; The answer is found by searching the internet.  One solution is to install an application called BlueStacks player which appears to install an Android VM for playing Android apps.  I'm sure there are other solutions, but the
    BlueStacks player looks exactly like mu Moto G screen.  The apps icons are displayed in Windows Explorer with BlueStacks installed.
    http://www.bluestacks.com/app-player.html
    I searched the internet for open apk file on pc
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • It's not just Download Helper v4.8.3, it's also RealPlayer: the download display window shows .mp3 files downloading, but nothing shows in the folder when it is done downloading.

    # Question
    It's not just Download Helper v4.8.3, it's also RealPlayer: the download display window shows .mp3 files downloading, but nothing shows in the folder when it is done downloading.
    Also in the '''Properties''' window of Windows Explorer I '''no longer have the Details tab''', so I can't update my mp3 files with Artist, Album, Genre, etc. But the details tab does show up when I access it thru Windows Explorer.
    I ran the AVG rescue disc an no viruses found. Now on '''FF3.6.15''' '''RealPlayer''' shows when I right click but then '''immediately disappears and an icon appears in the System Tray''', but as soon '''as I hover my mouse over it it disappears'''.
    Does anyone have any ideas or suggestions?
    How can I get this fixed? I have time-sensitive mp3s that I won't have access to anymore if I don't get this resolved in a hurry. (no pressure on you, I'm the one that's stressed about this) Can you help? Thanks so much for responding to this '''inquiry.''''''bold text'''

    See:
    *https://support.mozilla.com/kb/Downloads+window
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history" > "Remember download history"

  • Digital Input Cannot Display this Video Mode Optimum Resolution 1280 x 1024 60hz.

    HP Pavilion h8-1360t, Windows7 home premium 64-bit,  AMD Radeon HD 7570 graphics card.
    error message: Digital Input Cannot Display this Video Mode Optimum Resolution 1280 x 1024 60hz. 
    I get the error message as soon as Windows opens and the desktop displays.  Then it goes black with that message.  I've been using the computer for awhile and I had it so that when I maximized a window it would go across both screens.  I have two monitors on the graphics card.  Somehow I changed the settings so that a program would maximize to one monitor or the other.   That is how I want it to work.  Maybe I activated HydraVision.  Now I have the problem when I start.
    Also now when I boot to Safe Mode I get the message that there is no AMD graphics driver installed, or it is not functioning properly.  I have tried to update it and the computer tells me I have the most recent version installed.   I would like to uninstall it and reinstall it, but I'm a little worried I won't get it installed and be without video.  Something like that happened to me once before years ago.
    Could someone tell me what I should do please?
    Thanks,
    Jim Allen

    HP support is here:
    http://www8.hp.com/us/en/contact-hp/contact.html
    In safe mode you should uninstall the driver, then try to boot normal again.
    Then check if driver was installed by win7.
    If not go go AMD website and download latest driver for your card.
    V.
    *** Say 'Thanks' with Kudos ***

  • Dng and CR2 files display as icons in CS5

    Now I have installed CS5 on three machines - a new installation on WIN7, and here everything is alright - no problem!
    Two machines running XP wth a previous CS4 installation uninstalled show up in Bridge with this problem:
    dng and CR2 files display as icons!!
    Everything is updated, ACR plugin placed as should be, and Camera RAW is working fine when OPENING the file. It is only a display problem, but this is serious enough - you cannot go through your downloaded pictures.
    I have tried to follow a solution close to the one given for CS4:
    http://kb2.adobe.com/cps/407/kb407945.html
    but I am out of luck.
    Is it an XP problem, or has it something to do with the previous installation of CS4?
    Any suggestions will be great! I have searced, read, tried, searched, tried.... some share this problem, but I haven't seen any soloution.
    Thanks, Jan

    Disclaimer:  The following applies to WINDOWS EXPLORER.  I don't use Bridge so I don't know if it's applicable at all to Bridge.
    Adobe does not provide a codec for viewing Canon raw files as thumbnails.  Canon has one for free but it only works on a 32 bit Windows system.
    Early this year I found a free download for displaying raw file thumbnails that works on an x64 Windows system.  Since that time the author realized there's a real demand for this software and has started charging for it.  In any case, I find it works very well.
    http://www.fastpictureviewer.com/codecs/
    -Noel

  • Safari not displaying certain icons and background music while viewing

    I'm new to Mac OS.
    I tried to view a website I used to visit but the 27" iMac wouldn't display certain icons and the background music when Windows 7 could.
    I recalled when I was in the Windows 7, the internet Explore brought down a small yellow bar from the top page asking me whether I'd like to install the ActiveX so that the site can play back the backgound music, java script and so on.
    I downloaded and tried the Google's Crome and the Firefox browsers but they were the same as the Safari.
    Is there a remedy for it?
    Your help is greatly appreciated.

    HI,
    If you could post a link to the site it would help.
    From the Safari Menu Bar click Safari / Preferences and select the Security tab.
    Where you see: Web content: Make sure the top 3 buttons are checked. Relaunch Safari and try that site.
    If you would take a moment and click My Settings on the right side of this window and tell us which Mac OS X version your iMac is running and which version of Safari, that helps us trouble shoot for you. Thanks!
    Carolyn

  • Displaying flash in different screen resolution.

    How to set up the flash to play in different screen
    resolutions? The original is at 640x480 but I wanted to display it
    in a bigger screen? Any ideas is appreciated.
    Thanks a bunch

    You can also use our Flash third party tool to automatically
    set the users
    screen resolution before it begins.
    Download a FREE evaluation copy from
    http://www.jugglor.com
    then go to
    Setup Settings -> Windows Settings -> Full Screen
    Resolution
    Try the other features on there also.
    Hope it helps.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • After installing Mavericks, CS 6 Photoshop won't keep a display window viewable to open a file

    When I try to open a Photoshop file from both a dropdown (File > Open) or command O, the display window will stay open for a brief moment before closing.
    On occasion I'll get the error *** -[_NSArrayM objectAtIndex:]: index 39 beyond bounds [0 .. 38]
    Other times the error will say Could not complete your request because of a program error.
    Other time there is no message.
    The computer I'm running is MacBook Pro with Retina display,  3 GHz Intel Core i7, 8 GB 1600 MHz DDR3

    I found a solution to my issue, hopefully this helps others:
    "Try switching to List or Icon view in the File > Open dialog. There seems to be an issue with the Cover Flow view (the one that looks like iTunes album covers)."

  • Can Mail display an icon to show me messages that have attachments...

    Can Mail display an icon to show me messages that have attachments... I have tons of emails organized... sometime I have to find an attachment and I have to key through each message to see it there is an attachment.
    Is there a way to just show me like entourage or other programs do?

    Check under the View menu for an Attachment option and select it. That should place a new column in the message browser window with an icon if there is an attachment.

  • No windows icon when using option on restart

    I just installed Windows on my Macbook 10.5.3 using Bootcamp without any difficulty. However, on startup, while pressing the option button, the only choice I am given, is Macintosh HD. There is no Windows icon. It doesn't matter if I boot out of Windows or Leopard. The only way to change OS's is to let the computer boot up and then go into system--> startup disc and then restart. Any suggestions?

    Did you ever get resolution? I'm having the same symptoms/results. My nano 3G won't charge anymore no matter what I use (portable charger, USB port on several different PC's...) I'm thinking this happens to many thousands of iPods. They are prone to early failure. Limited warranty. No user serviceable parts. And we just go out and buy the latest model to replace it.
    I didn't even use mine that much. Maybe it's time to find a more reliable brand (heresy I know...).

  • When I try compose an email, just get compose window icon stuck in windows taskbar can't actually enlarge it and use it

    Ok, details of installation below, so when I try compose an email, I just get a compose window icon stuck in the windows
    taskbar can't actually enlarge it and use it. If I restart in safe mode with all addons disabled, then it works fine. But
    If I restart normally and manually disable addons/plugins, then close and start normally again i.e not safe mode, it
    breaks, so does not seem to be an addon or plugin but rather something with the configuration.
    Application Basics
    Name Thunderbird
    Version 31.6.0
    User Agent Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
    Profile Folder
    Show Folder
    (Local drive)
    Application Build ID 20150330093429
    Enabled Plugins about:plugins
    Build Configuration about:buildconfig
    Memory Use about:memory
    Mail and News Accounts
    ID Incoming server Outgoing servers
    Name Connection security Authentication method Name Connection security Authentication method Default?
    account2 (none) Local Folders plain passwordCleartext
    account3 (nntp) news.mozilla.org:119 plain passwordCleartext stbeehive.oracle.com:465 SSL passwordCleartext true
    account5 (imap) stbeehive.oracle.com:993 SSL passwordCleartext stbeehive.oracle.com:465 SSL passwordCleartext true
    Crash Reports
    Report ID Submitted
    bp-0a8986d2-ff0c-41c3-9da6-e770e2141224 24/12/2014
    bp-01f44ba7-3143-4452-ac98-981b62140123 23/01/2014
    Extensions
    Name Version Enabled ID
    British English Dictionary 1.19.1 false [email protected]
    Lightning 3.3.3 false {e2fda1a4-762b-4020-b5ad-a41df1933103}
    Oracle Beehive Extensions for Thunderbird (OracleInternal) 1.0.0.5 false [email protected]
    Important Modified Preferences
    Name Value
    accessibility.typeaheadfind.flashBar 0
    browser.cache.disk.capacity 358400
    browser.cache.disk.smart_size_cached_value 358400
    browser.cache.disk.smart_size.first_run false
    browser.cache.disk.smart_size.use_old_max false
    extensions.lastAppVersion 31.6.0
    font.internaluseonly.changed false
    font.name.monospace.el Consolas
    font.name.monospace.tr Consolas
    font.name.monospace.x-baltic Consolas
    font.name.monospace.x-central-euro Consolas
    font.name.monospace.x-cyrillic Consolas
    font.name.monospace.x-unicode Consolas
    font.name.monospace.x-western Consolas
    font.name.sans-serif.el Calibri
    font.name.sans-serif.tr Calibri
    font.name.sans-serif.x-baltic Calibri
    font.name.sans-serif.x-central-euro Calibri
    font.name.sans-serif.x-cyrillic Calibri
    font.name.sans-serif.x-unicode Calibri
    font.name.sans-serif.x-western Calibri
    font.name.serif.el Cambria
    font.name.serif.tr Cambria
    font.name.serif.x-baltic Cambria
    font.name.serif.x-central-euro Cambria
    font.name.serif.x-cyrillic Cambria
    font.name.serif.x-unicode Cambria
    font.name.serif.x-western Cambria
    font.size.fixed.el 14
    font.size.fixed.tr 14
    font.size.fixed.x-baltic 14
    font.size.fixed.x-central-euro 14
    font.size.fixed.x-cyrillic 14
    font.size.fixed.x-unicode 14
    font.size.fixed.x-western 14
    font.size.variable.el 17
    font.size.variable.tr 17
    font.size.variable.x-baltic 17
    font.size.variable.x-central-euro 17
    font.size.variable.x-cyrillic 17
    font.size.variable.x-unicode 17
    font.size.variable.x-western 17
    gfx.blacklist.suggested-driver-version 257.21
    mail.openMessageBehavior.version 1
    mail.winsearch.firstRunDone true
    mailnews.database.global.datastore.id 8d997817-eec1-4f16-aa36-008d5baeb30
    mailnews.database.global.indexer.enabled false
    network.cookie.prefsMigrated true
    network.tcp.sendbuffer 65536
    places.database.lastMaintenance 1429004341
    places.history.expiration.transient_current_max_pages 78789
    plugin.disable_full_page_plugin_for_types application/pdf
    plugin.importedState true
    plugin.state.flash 0
    plugin.state.java 0
    plugin.state.np32dsw 0
    plugin.state.npatgpc 0
    plugin.state.npctrl 0
    plugin.state.npdeployjava 0
    plugin.state.npfoxitreaderplugin 0
    plugin.state.npgeplugin 0
    plugin.state.npgoogleupdate 0
    plugin.state.npitunes 0
    plugin.state.npoff 0
    plugin.state.npqtplugin 0
    plugin.state.nprlsecurepluginlayer 0
    plugin.state.npunity3d 0
    plugin.state.npwatweb 0
    plugin.state.npwlpg 0
    plugins.update.notifyUser true
    Graphics
    Adapter Description NVIDIA Quadro FX 580
    Vendor ID 0x10de
    Device ID 0x0659
    Adapter RAM 512
    Adapter Drivers nvd3dum nvwgf2um,nvwgf2um
    Driver Version 8.15.11.9038
    Driver Date 7-14-2009
    Direct2D Enabled Blocked for your graphics driver version. Try updating your graphics driver to version 257.21 or newer.
    DirectWrite Enabled false (6.2.9200.16571)
    ClearType Parameters Gamma: 2200 Pixel Structure: R
    WebGL Renderer Blocked for your graphics driver version. Try updating your graphics driver to version 257.21 or newer.
    GPU Accelerated Windows 0. Blocked for your graphics driver version. Try updating your graphics driver to version 257.21 or newer.
    AzureCanvasBackend skia
    AzureSkiaAccelerated 0
    AzureFallbackCanvasBackend cairo
    AzureContentBackend cairo
    JavaScript
    Incremental GC 1
    Accessibility
    Activated 0
    Prevent Accessibility 0
    Library Versions
    Expected minimum version Version in use
    NSPR 4.10.6 4.10.6
    NSS 3.16.2.3 Basic ECC 3.16.2.3 Basic ECC
    NSS Util 3.16.2.3 3.16.2.3
    NSS SSL 3.16.2.3 Basic ECC 3.16.2.3 Basic ECC
    NSS S/MIME 3.16.2.3 Basic ECC 3.16.2.3 Basic ECC

    Noticed this in the info supplied:
    Graphics Adapter Description NVIDIA Quadro FX 580
    Vendor ID 0x10de
    Device ID 0x0659
    Adapter RAM 512
    Adapter Drivers nvd3dum nvwgf2um,nvwgf2um
    Driver Version 8.15.11.9038
    Driver Date 7-14-2009
    Direct2D Enabled Blocked for your graphics driver version.
    Try updating your graphics driver to version 257.21 or newer.
    Could you update your graphics driver and retest.

  • How can I display an icon, instead of text string, as a validation prompt?

    My validate method inside my custom validator is like this:
    public void validate(FacesContext context, UIComponent component, Object value) {
      Pattern datePattern = Pattern.compile("(\\d{2})/(\\d{2})/(\\d{4})");
      Matcher dateMatcher = datePattern.matcher((String)value);
      if(!dateMatcher.find()){
        ((UIInput)component).setValid(false);
        FacesMessage message = new FacesMessage();
        String msg = "[" + value + "] invalid date";
        message.setDetail(msg);
        context.addMessage(component.getClientId(context), message);
        FacesMessage facesMsg = new FacesMessage(FacesMessage.SEVERITY_FATAL, "xx", "msg");
        throw new ValidatorException(facesMsg);
    }My JSP has this:
    <h:inputText id="test" value="#{projecthandler.test}">
    <f:validator validatorId="DateValidator" />
    </h:inputText>
    <h:message id="testErrorMessage" for="test"/>The <h:message> tag will kick in if the user has invalid data in the <h:inputText> field and clicks submit.
    When the page is regenerated, the user will see a text string reflecting what the issue is.
    However, instead of this, I would like to display an icon consisting of a red circle with an exclamation point.
    The user is supposed to click on the icon if they want more information. By clicking on the icon,
    the user will see a message box, with a description of the error.
    This is our standard for applications. I'm trying to put together a demo showing how an existing application
    would work in JSF, so I won't be able to talk others into using JSF, unless I can get the validation to display an
    icon instead of text.
    Edited by: Kazan on Mar 18, 2009 9:31 AM
    Edited by: Kazan on Mar 18, 2009 9:33 AM
    Edited by: Kazan on Mar 18, 2009 9:36 AM

    OK, I noticed a bug in my validate method. This is updated to fix the bug, and to include the recomendation about background-image:
      public void validate(FacesContext context, UIComponent component, Object value) {
        System.out.println("DateValidator.test.1");
        Pattern datePattern = Pattern.compile("(\\d{2})/(\\d{2})/(\\d{4})");
        Matcher dateMatcher = datePattern.matcher((String)value);
        System.out.println("DateValidator.test.1");
        if(!dateMatcher.find()){
          ((UIInput)component).setValid(false);
          FacesMessage message = new FacesMessage();
          String msg = "<span style='background-image: url(/error.gif)'/>";
          message.setDetail(msg);
          message.setSeverity(FacesMessage.SEVERITY_FATAL);
          context.addMessage(component.getClientId(context), message);
          throw new ValidatorException(message);
      }When I run this, the litteral string of "<span style='background-image: url(/error.gif)'/>" is printed as the message. It does not interpret this as a span tag with an image url.
    Can someone tell me what's going on?

  • How to display the iconic buttons on the toolbar in oracle 10g forms

    hi experts.
    i have done all the settings to display the iconic tool bar in the web. the settings i have done are like this.
    Initially i have created a .jar file with name my_icons.jar and pasted in /forms/java folder.
    1) modified the I:\DevSuiteHome_1\j2ee\DevSuite\application-deployments\forms\formsweb\orion-web.xml file by adding
    <virtual-directory virtual-path="/icons" real-path="I:\aptd\icons" />.
    2) Modified the forms.conf file by adding the line
    AliasMatch ^/forms/icons/(..*) "I:\aptd\icons/$1"
    3) Modified the formsweb.config file by
    archive_jini=archive_jini=frmall_jinit.jar, my_icons.jar
    4) Registry.dat
    default.icons.iconpath=icons/
    default.icons.iconextension=gif
    i did not get the output.
    when i run the form through the browser, i could see throught the bottom of the browser that it is taking
    http://host:port/forms/java/icons/*.gif
    * for diffenent icons name.
    but when i run the http://host:port/forms/java/my_icons.jar i could download it.
    please suggest the best solution. Its Urgent.

    thanks a lot sarah. I got it.
    but sarah i woild like to know that my real path of the icons is in other drive. but pasting the icons in the oracle/forms/icons will work.
    why can't the icons take from the the other drive. And also i have created a jar file. Then why can't it take from the jar file without pasting them in the above mentioned folder.
    thanks once agaiin for all.

  • How can I retain the attached .pdf files (displayed as icons) from my word file 2010 to a pdf file?

    Hi everybody,
    I have looked for an answer in this forum ... without any good result.
    I worked on a Word 2010 file with some attached pdf files. These attached files are displayed as icons on the word file. If you double click on them, you can consult them. This works very good.
    Problem: I would like to convert this word 2010 file into a pdf file, which keeps the icons (linked to attached files) active. If I "pdf" this with my current system, icons are displayed as pictures: I cannot open the attached files.
    My question is very simple: is it possible to retain these active icons (= to open attached documents) in a pdf file? Which adobe package should I use?
    Many thanks for your help 
    cheers
    elgreengo

    No, it's not possible, but I agree it would be a very nice feature.

  • How to disable the Super User menu - (Right click windows icon menu) - Server 2012 R2 - RDS

    Greetings all,
    Can anyone please advise how to remove the Administrator / Super User menu that appears when you right click the Windows Icon (old start button) in Server 2012 R2 - for RDS users. I have searched and been able to disable access to each of these menu items (Control
    Panel, Event Viewer, Run, etc). But I am searching for a way to completely remove the menu. This menu also appears when you use Win-X shortcut.
    Hope someone can help.
    Terry

    Hi Terry,
    You can try following points, might helpful in your case. Go to 
    C:\Users\Default\AppData\Local\Microsoft\Windows 
    there you will see file called WinX 
    Right click this file and copy then go to
    C:\Users\YOUR_USERNAME\AppData\Local\Microsoft\Windows 
    then paste the file into the folder.
    NOTE: replace YOUR_USERNAME with your actual username. 
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • IDOC Message coming from R/3 system to XI , but waits in Qeue

    <b>IDOC Message coming from R/3 system to XI , but waits in Qeue</b> XI doesn't send the message FTP receiver.In XI sxmb_moni  the "c" column contains green flags that mean "message scheduled on outbound side". In smq1 It writes "SYSFAIL" means "Pass

  • Travel Cost Distribution

    We are having two company codes here, 1000 and 2000. Employees belong to either of them. If an employee belongs to company code 1000, and he makes allocation of his cost 100% to a cost centre that belongs to company code 2000, we are having no proble

  • How can i register my Window phone lumia 520

    I have a problem in registration as a window phone developer. What are the steps for register as a window phone developer??

  • Error: Timeout occurred while retrieving page meta data.

    Hi, I have 10.1.2.0.0 installed. I log into portal and time to time I keep getting the following error: Error: Timeout occurred while retrieving page meta data. Any ideas what might be the cause. It may work ok for sometime but all of a sudden I keep

  • Retrieving Webcenter User Profile information from portlet programmaticaly

    Hi guys, I'm triing to retrieve WC user profile information programmatically from a jsr 286 portlet but: ADFContext.getCurrent().getSecurityContext().getUserName(); ----> always return anonymous ADFContext.getCurrent().getSecurityContext().isAuthenti