Change title icon

Is it possible to change the title icon on the title bar of a JFrame? Im sick of looking at the cup of steaming joe and would like the option to remove it. If it is possible, could someone please submit some sample code? Thanks

I think this should work.
Note the gif m/b 16X16
public static ImageIcon frameIcon;
frameIcon = new ImageIcon(getClass().getResource("images/frameicon.gif"));
JFrame frame = new JFrame();
frame.setIconImage(frameIcon);

Similar Messages

  • Changing title & icon in Flash projector

    I want to create a projector from Flash (projector.exe) that
    has my own custom icon and title text in the top window bar.
    This is something that I routinely do with Director, (by
    editing the icons in the projec32.skl file in Director's Program
    Files' folder), but I can't figure out how to do this for Flash.
    The idea is to change where it says "Macromedia Flash Player
    7" in the title bar and the little "f" icon next to it
    to say, "My Own Application Name" , and have my own icon.
    Can anyone suggest a solution?
    Thanks!

    I think there are some free icon hacking tools out there...
    or you
    could go the easy route and create your exe with mProejctor,
    as part of
    the build cycle you can spec a custom icon, and there is a
    lot of
    flexibility with window types.
    download here
    http://www.screentime.com/software/mprojector/demo.html
    and some docs
    http://www.screentime.com/software/mprojector/docs/index.html
    John Pattenden
    Screentime Media - Flash Tools since 1997
    http://www.screentime.com

  • Change title, tooltip and icon for About button in published Webhelp?

    About Webhelp  is just plain wrong.  The tooltip ought to read "About <project name>" and the title bar for the About window should be eliminated (or else have it read About <project ver xx>.
    How do I do this?
    Likewise, is it possible to change the ICON for the About dialog in the toolbar of a published Webhelp project?

    I have the same issue.
    I modified the whskin_banner.htm file to control what displays for the About button.  The only thing I can't figure out is how to modify the tooltip.  It still says "About Webhelp" when you hover over it.
    I searched the whskin_banner.html file for the words "About Webhelp" but nothing was found.  I looked in the Edit Skin wizard and couldn't find anything either.  I also searched the Skinny on Skins and it doesn't address this issue.
    How do I change the About tooltip? Did I miss something?
    Thanks!

  • Changing the icon in the title bar

    How can I go about changing the Icon in the title bar that goes next to the title?

    setIconImage(Image image) for JFrame.
    setFrameIcon(Icon icon) for JInternalFrame.
    Take a look at the API.

  • 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) ?

  • Change the icon and the word "open" at the left upper corner of file dialog

    i wanna to change the icon and the word "open" at the left upper corner of a Jfilechooser...
    can any expert tell me how to do so?
    thx and thx...

    yeah u can change the JFileChooser's title by calling the setDialogTitle(String) method. i'm not sure of the icon change, i think it can't be done.

  • How can i change the icon in JDialog

    Hi,
    I have created a regular JDialog with new JDialog("Title");
    My problem is, the JDialog has the standard Java Icon.
    Is there a way to change this icon to a custom icon.
    I know you can change the icon in a JFrame, but haven't found anything how to change it in a JDialog.
    Any idea?

    Yep,
    there is no way to do it apart from using a different constructor:
    .... = new JDialog(Frame owner,String title)
    If you have set the Icon in owner , your JDialog will have the same icon.
    Phil

  • Changing Podcast Icon

    Here is my issue
    1. I submitted a picture when I first signed up for the iTunes Podcasts. Once I was approved an icon was created.
    2. I later changed the picture. The picture is now fine on my iTunes page
    For Example: The picture is great here:
    http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=396356628
    3. My goal is to now get the icon to change on the iTunes store. If you search for Fibroids on iTunes Podcast, you will see an older version of the picture.
    How can we change the icon on iTunes? (the pic that comes up in searches)
    We have defined the picture in our feed.xml
    Picture URL:
    http://www.thefibroidsproject.com/podcasts/tfp_podcast.jpg
    Feed URL: www.thefibroidsproject.com/podcasts/tfp_feed.xml
    Title: The Fibroids Project
    Category: Health
    Thanks in Advance

    Please see this page which will explain all:
    http://homepage.mac.com/rfwilmut/notes/faq.html#coverart

  • Change title and category after published

    I published an iBook.Days after I was able to upload modified content with ITunes Connect, but I can not change Title and Category of the iBook. I uploaded the new contents changing the title and category but new text is on line, title and category are always the same. There is a way to do this?

    On Fri, 4 Apr 2008 06:21:15 +0000 (UTC), "mFlexDev"
    <[email protected]> wrote:
    > I have published a fla file in exe format .
    > how can i change the title and image of this exe?
    I beleave the easiest way is to use PEResourceExplorer,
    Resource
    Hacker or similar software to modify EXE resources, such as
    window
    title and window icon.

  • Is there a way to change the icon associated with icloud account?

    Is there a way to change the icon associated with my iCloud account? It's currently a rose and i do not like it.

    Welcome to the Apple Support Communities
    Are you referring to your iCloud account picture or your user picture?
    It looks like you are referring to your user picture. To change it, open System Preferences > Users & Groups, press the picture box and choose the user picture you want from the ones that came by default. If you want to select a different picture stored on your Mac, drag that photo onto the picture box.
    If you want to change your iCloud account picture, open http://www.icloud.com and log in with your Apple ID. Then, press your name at the top right of the site and press the user picture. If you put the cursor on the picture box, you will see a button at the top of the box to change your picture

  • How I change the icon for iTunes songs?

    When I drag iTunes songs onto my desktop the icon is white with a gray iTunes icon. How can change this icon for all of my iTunes songs?

    Thanks Patrick. I used Control-Click on the actual audio file on my desktop opened the Show View Options menu and turned off the icon preview option. That changed my icons from gray with a white background to red with a white background which is exactly what I wanted.  You pointed me in the right direction. Appreciate it.

  • Change .pdf icons to generic icon instead of preview image

    How can I change the icon of a .pdf on the desktop to the more generic red and white Adobe logo instead of the little preview picture? With the old-style icon it's easy to determine what's a .pdf - with everything a little preview now (which is too small to tell anything, at least for me) I have to actually read the file name to see what type of file it is.
    Not the end of the world but it would be nice to change.
    thanks

    What app do you want your PDF files to open with when they are double-clicked?
    If you click on the Desktop, type Command-J, and in the Desktop's view-options window uncheck the box for "Show icon preview," you will convert all the Desktop icons to whatever image the default "Open with" app has provided. If you have set Adobe Reader as the default app for PDF files, the icon will look like this:
    !http://i55.tinypic.com/2r4hf6p.jpg!
    If you have set Preview as the default app, the icon will look like this:
    !http://i51.tinypic.com/264noea.jpg!
    I don't know of an automatic way to have PDF files display an Adobe icon and still have them open in Preview when double-clicked.

  • When I click on a link in an RSS feed it used to indicate that I'd viewed that particular link by changing the icon to the left of the link. It doesn't do that anymore. [SOLVED]

    When I click on a link in an RSS feed it used to indicate that I'd viewed that particular link by changing the icon to the left of the link. It doesn't do that anymore. This started happening right around the time I updated to Firefox 4, but may have been a little before that too. For some things, like news and web comics it's just a little annoying. For important things like looking for new journal articles for my job, it literally makes my job more difficult. So fixing this would make my day.

    I seem to have solved my own problem. When I disabled the add-on "Tab Renamizer" everything started working fine.

  • Change Dock Icons on OS 10.8.5

    Hi Mac Community!
    For all of us Mac lovers, the one thing we are fascinated with is the fact that Mac in notorious for giving the end user the power to personalize the computer's look and feel, as well as making commands extremely user friendly.
    This is not what I get from the last update to OS 10.8.5
    I want to change the icons on my dock, as I should being that I am the owner of a fairly expensive piece of equipment, but this seems impossible to do for the Finder icon. Is there any way this can be done without causing any problems in the system?
    Any ideas are appreciated! THANKS!

    You want to change the Finder icon or you want to remove the Finder icon from the dock. You weren't clear on that point

  • How to change title of Employee Master Data form (in add-on creation) in SAP B1 9.1?.

    Hi all,
    I have a problem of how to change title of my add-on in SAP B1 9.1.
    I created the add-on of Employee Master Data but I want to change its title, is it possible?
    When I change the title as (Member Master Data) in property, it will display Employee Master Data again.
    If it is possible to change it, how can I do?
    Please anyone can help me.

    Hi,
    Try this:
    If pVal.FormType = 60100 AndAlso pVal.EventType = BoEventTypes.et_FORM_LOAD AndAlso pVal.BeforeAction = False Then
      Dim oForm As SAPbouiCOM.Form = DirectCast(oApplication.Forms.GetForm(pVal.FormType.ToString(), pVal.FormTypeCount), SAPbouiCOM.Form)
      oForm.Title = "New Title"
    End If
    Or you can try:
    If pVal.FormType = 60100 And pVal.EventType = BoEventTypes.et_FORM_LOAD And pVal.BeforeAction = False Then
         Dim oForm As SAPbouiCOM.Form = CType(oApplication.Forms.GetForm(pVal.FormType.ToString(),pVal.FormTypeCount), SAPbouiCOM.Form)
    oForm.Title = "New Title"
    End If
    Hope it helps.
    Thanks & Regards
    Ankit Chauhan

Maybe you are looking for