Change icon in window bar?

Hi,
Can someone explain me how to change the icon that
appears in windows (on Windows it's on the left part
of the window bar).
Which image file format are supported?
Best Regards,
Xavier.

thanks to everybody.
One solution is:
Swing :
JFrame my_frame = new JFrame();
my_frame.setIconImage((new javax.swing.ImageIcon("MyIcon.gif")).getImage());
With AWT, I suppose that something with CreateImage
createImage(String) - Method in class java.awt.Toolkit
Returns an image which gets pixel data from the specified file.
createImage(URL) - Method in class java.awt.Toolkit
Returns an image which gets pixel data from the specified URL

Similar Messages

  • Change Icon in URL Bar

    Can someone please instruct me on how to change the default icon used in the URL bar for an APEX app?
    Thanks,
    Blake

    Hi,
    See this Roel blog post
    http://roelhartman.blogspot.com/2010/10/create-favicon-for-your-apex-40.html
    Regards,
    Jari

  • Magically Changing Icons - M$ Task Bar

    Hi,
    In Windows XP (Windows NT), when you open multiple windows of a program, the programs become inconisized and grouped together under one menu icon with a name. For instance, opening Windows Explorer multiple times creates a menu on the task bar that displays the Windows Explorer Icon, the number of windows open, and the title of the program--Windows Explorer.
    However, when I run my Java programs multiple times (or make many frames within a program) and iconisized them, they appear on the task bar as a menu with a little white window icon with a blue title, the number of windows (frames) open, and "java" or "javaw" beside it.
    I know how to add icons to frames. What I don't know is how to keep my icon and application name on the task bar when windows (frames) or applications become grouped. Any helpful information would be greatly appreciated. Spent 4 hours looking all over Sun's site, trying to find an answer. I've even tried to download some open source programs and tried to disect them to find the code. Sample code would be greatly appreciated.
    Thanks,
    J Apprentice

    J Apprentice,
    XP groups these together because they are using the same executable (java.exe). The name which appears in the taskbar group is gained for the exe's description attribute (take a look at the exe's properties from explorer) or , failing that, the name of the executable. The only way around this is to create a JNI wrapper executable which links to the JVM and calls your main method instead of executing java.exe. (BTW this is how java.exe works anyway). Some java installers create these wrappers for you.
    Graeme

  • Finder stops responding. Can't close window or click icons in window bar without moving window.

    When moving files between disks, the Finder stops responding to the close, minimize and expand window (red, yellow, green buttons). If I grab the title bar and move the window, even one pixel, I can click on the boxes. The same is true of the trash button in the window icons.
    It's just annoying.

    I have been plagued by the same problem ever since upgrading to Mavericks.
    I click the red button on windows (various apps), it goes dark but window won't close until I actually make that window active or move it around somewhere.

  • How to change the icon for 'windows group' in Java 1.6 [Windows XP] ?

    Hello,
    I was wondering if there is a possibility to change the icon for 'windows group' in Java 1.6...
    I'm using Windows XP SP2. Now the windows from my Java 1.6 application are grouped with the standard Sun icon [screen below] on the group.
    http://img382.imageshack.us/img382/8995/iconbl1.png
    I would like to change the icon for my own. Is there a way to do that ?
    Please help.

    Whichever icon I use for the main frame (I tried few), after grouping the main frame and other sub-frames the icon is changed to standard 'Java Sun' icon as you can see in the screenshot from my first post. The problem occurs only when frames are grouped, when the are separated in the task bar their titles and icons are ok...
    So how can I change the icon/title for the group only (for Java 1.6 in Windows XP) ?

  • Task Bar Mahem - Changing Icons on M$ task bar

    Hi,
    In Windows XP (Windows NT), when you open multiple windows of a program, the programs become inconisized and grouped together under one menu icon with a name. For instance, opening Windows Explorer multiple times creates a menu on the task bar that displays the Windows Explorer Icon, the number of windows open, and the title of the program--Windows Explorer.
    However, when I run my Java programs multiple times (or make many frames within a program) and iconisized them, they appear on the task bar as a menu with a little white window icon with a blue title, the number of windows (frames) open, and "java" or "javaw" beside it.
    I know how to add icons to frames. What I don't know is how to keep my icon and application name on the task bar when windows (frames) or applications become grouped. Any helpful information would be greatly appreciated. Spent 4 hours looking all over Sun's site, trying to find an answer. I've even tried to download some open source programs and tried to disect them to find the code. Sample code would be greatly appreciated.
    Thanks,
    J Apprentice

    I know how to change icons on frames and task bars. It's when they frames become grouped that the task bar icon magically chnages.

  • How do I turn off and on the icon size slider bar at the lower right status bar of a folder window.

    I have been trying for days to help a friend with a new iMac to turn on the icon size slider bar that on my iMac appears at the bottom of ever folder when it is open when in the "view" > "icon" mode.  I cannot find anything that discusses this slider bar.  I can turn this status bar off and on on both my machine and my friends machine, but I cannot turn off or on the slider on either machine. 

    This did not help.  I am a Mac User since 1984 and generally I am never stymied buy the Mac OS, but this one has me.   I can open and close the lower status bar, as you described, and that works fine for me because I have the icon slider bar already there and it works fine; however when I open the lower status bar on my friends machine there is no icon size slider bar, and I can't seem to find out how to get it there, as it is on my machine or at all. The icon size can be controlled from the View menu, but as a photographer, it is really handy to have it at the bottom of the folder window.  Thanks for trying. 

  • Is it possible to have the Firefox Icon in windows' taskbar flashes when any of my app tab changes?

    Is it possible to have the Firefox Icon in windows' taskbar flashes when any of my app tab changes?

    Not possible to configure this in Adobe Reader.

  • Want to change Form MDI Window default icon as well as default window icon

    Hi,
    I am using oracle forms 10g. I need to change the mdi window default icon as well as default window icon of inner form. But i do not know the way. Pls help me.

    http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
    webutil lets you access the client machine from webforms. you'll need to install it on the application server and include the webutil library and object group in the form which will change the MDI window's icon (probably the first form in the application).

  • Changing The Default Window Icons

    Is there a way to change the MDI Window Icon when the Form is run on the web. Changing the icon in client/server seems to work well with the following (attached d2kwutil.pll):
    declare
    a pls_integer;
    begin
    a := win_api_utility.get_active_window(false);
    win_api_session.change_mdi_icon(A,'newiconfilename',0);
    end;
    The problem with this is that it will always raise an error on the web because It cannot get the handle for the window (Frame) in Java. Is there a way to change the icon or am I just shooting in the dark. Any help would be appreciated.
    null

    hi sir
    my name OSAMA and wanna your help in changing MDI window
    i trying this code
    I am trying this code
    Declare
    hWin pls_integer := win_api_utility.get_active_window;
    Begin
    WIN_API_SESSION.CHANGE_MDI_ICON(hWin,'e:\e.ico',0);
    End;
    I have error
    frm-40734: internal error :pl-sql error occurred
    sorry but this is an urgent problem
    thank you sir
    osama

  • Firefox icon changes to default Windows icon after a few days

    Downloaded Firefox browser on new HP Pavilion dv6. After a couple of days, Firefox icon changes to default Windows program icon. Uninstalled Firefox and re-installed. After a few days, the icon changed back to default Windows program icon. I cannot manually change icon back under Properties setting as default program icon is now associated with Firefox program. Laptop is 64-bit, and program is installed under Windows x86 folder.
    Is this a Microsoft setting issue? Or do I need a different download for 64-bit?

    You can change FN and CTRL key in the BIOS

  • How to change the Control icon in window

    hi to all
    this is my first post to thiss forum and im using java swing for desktop application im facing a little problem is that how to change control icon on window created by java swing example is here
    http://i108.photobucket.com/albums/n15/zerocool_007/window.jpg
    how to change the red circuled icon any simple code tips will help mee
    zero

    myJFrame.setIconImage(img);
    where img is an Image object.
    The easiest way to create an Image is the following:
    Toolkit toolkit = Toolkit.getDefaultToolkit();
    Image img = toolkit.getImage("myImage.jpg");
    remember you need to import java.awt.Toolkit at the top of your class.
    Good Luck,
    Eugene

  • Why is the Time Machine icon in menu bar not spinning when backing up? It stop working when I changed to Maverick.

    Why is the Time Machine icon in menu bar not spinning when backing up? It stop working when I changed to Maverick.

    my imac came with lion and don't think it ever span with lion and mtn lion and now maverick not sure if it's a setting

  • Change icon & window title - for Mac projectors? (but not Zinc)

    I need to change the icon and window title for a Mac projector made with CS5 (on Windows).
    I know there are a few solutions for the Windows exe.
    But I can't find an affordable solution for the Mac projector. Any ideas?
    I tried the Windows version of Zinc, it created exactly what I need for both the PC and Mac - but there's no way I'm paying $800+ for Zinc just to change the icon and window title.

    My feeling was that there was a residual window spec left
    over from a previous build. (You can go on adding windows via
    Project>Windows rightclick.)
    Now - if you Open <yourprojectname>.hpj the project
    summary is displayed in dialog format. The first line reads 'This
    file is maintained by HCW. Do not modify this file directly.'
    Nevertheless, it is possible to do so - doubleclick on any of the
    sections to bring up an editable dialog on its settings. There are
    buttons at right, too, that replicate several of the doubleclicks.
    I'm annoyed that I can't remember which file stores all this data
    in an accessible form.
    In the General tab of the resulting Windows dialog there are
    the options to Add, Remove and Include window types and enter/edit
    Title texts. It's worth having a look at what's shown here just in
    case there is an Include being copied from another (and possibly no
    longer available?) project file.
    Perhaps try this (having backed up, of course!!):
    1 Note the required spec for your second window.
    2 Open the .hpj windows dialog and Remove any and all windows
    apart from Main.
    3 Open the project and see if the ghost is still there.
    4 Is it??
    (No-one else going back this far?)
    Brian

  • How can i change/set a new icon on title bar in JFrame

    hi
    i want to change the icon of title bar on JFrame
    plz help me as soon as possible.
    thankyou

    I took you longer to post you message than to read the api documentation on JFrame. There is a method dedicated to changing the icon of the JFrame.

Maybe you are looking for