I hate that coffee cup!!!!

Could someone please teach me how to get rid of that coffee cup in the left of the title bar in a JFrame and replace it with my own icon??
Since I have no Duke dollars left, I'm offering 10 real dollars(US) to the person who can answer this for me. I'll just send a quick PayPal Payment. Please help.
Regards,
neowhere

Thanks. I guess the first person to answer the
question correctly was chuanhaochiu. I owe you $10.
Do you have a email address that I can send a PayPal
payment to?
Extending a kind Thank you,
neowhere10 bucks for this crap? You gotta be kidding... this is the kinda information you can find around here quite readily for free.
Anyhow, since you're paying someone for a "right" answer, I felt I would warn you about what you're paying for.. Toolkit.getImage doesn't always return the complete image. It loads it asynchronously.. You'd have to use a mediatracker alongside it to make sure the image is loaded completely EVERY time.
An easier way, which uses a mediatracker internally to assure the image gets set EVERY time is this:
frame.setIconImage(new javax.swing.ImageIcon("path").getImage())

Similar Messages

  • How to remove java coffee cup asking me to install runtime environment that continuously popped up on my screen?

    how to remove java coffee cup asking me to install runtime environment that continuously popped up on my screen?
    I'm not selecting or viewing anything, it just appeared on my screen when I'm about to start up.
    Hope anyone here can help me with this. Thank you so much.

    Try installing this: Apple Java 2014-001.

  • How can I remove or replace the " Java coffee cup " icon ???

    I'd like to ask everybody some questions about the " Java coffee cup " icon
    doesn't JToolbar be able to pull out of Frame?
    but the JToolbar which was pulled out would have a little Java coffee cup icon
    just like JOptionPane,JDailog or JFrame.
    Is there any solution to remove this icon??
    equally....
    How can I remove or replace the little Java coffee cup icon of the title in
    JDialog or JOptionPane??
    Taking JFrame for instance, if I use "this.setIconImage(xxxxxxx);" then I can
    change the little Java coffee cup icon.
    but it seemed invalid to use it in JDialog.
    How can I solve it in JToorbar,JDailog and JOptionPane ???
    my e-mail : [email protected]

    this seems to be to most asked question at least in this forum.... only topped by the question about 'how to make an exe out of java apps' in the Java Programming Forum.
    Sorry, but is there anybody who has noticed those useful textboxes where it says 'Search'? I mean before there were computers one had to go to a library, ask somebody or perform extensive research until answers were found. Or one had to buy books only to find out the the other book he though about buying would have been better.
    Nowadays, simply type somthing like 'coffe cup' into a place where it is possible to do so and click into a region where it says 'Search' somewhere. Not even necessary to go to a froum like this and swamp it with the one trillionth version of this question, almost any search box might bring an answer (let it be right or not..).
    Although I have to admit that this instance is the most prosaic and least understandable one I have seen for long...
    Again sorry but I had to say that.

  • XP install appears to work but no coffee cup or java

    I have tried a number of times to install java through internet explorer, firefox, and the offline download file. The installation appears to work completing OK. However java apps still don't work and there is no coffee cup in control panel. Sites that require java tell me I need to download it.
    If I try to reinstall I get a message saying java is already installed. Java is listed in add / remove programmes. I have uninstalled it and removed every reference of java on the PC and in the registry and I still haven't been able to get it working.
    What else can I try?
    Thanks

    I seem to have the identical problem. Here's my post from another site.
    I've used Java succesfully under Win 2000, but now that I've switched to XP I can't seem to install it properly. I've run the installation .exe and Java appears in Control Panel Add/Remove Programs, but not in the Start/All Programs area nor does it work in either of my browsers (Firefox and IE). The browsers don't see that it was installed either. Applets don't run, but I can see the JavaScript Console. I have a project management program that requires Java and it will not run either. Help!!!
    Message was edited by:
    karlmoll

  • 10.3.1 Quick Battery Drain Runs Hot Keeps Coffee Cup Warm

    WOW amazing battery drain with 10.3.1.  Where can i get the previous OS of 10.2.xxx as do not want to be tethereed to a wall outlet or car charger.   Wow runs IS 10.3.1 hot pretty sure if I leave my coffee cup on the phone it will keep it warm.

    I had the same problem for a week on my Q10. I was extremely frustrated as I couldn't get any advice from Blackberry and the best advice on this forum suggested a "security wipe".  I reluctantly decided to go ahead and do that. I first  tried to back the phone up.  I had to update the BB Link software on my PC and then was able to do the backup. I started to download the software suggested here (which takes 5 hrs unless you pay for it) and then realised the phone seemed to be OK again. Since then it lasted 48hrs and today is only down to 88% after 9hrs.
    My problem was mainly that Standby was using 50% of the battery & Androd Player 15%. Both are now under 2%.
    Your phone may have a different problem so if you've downloaded the latest BB LInk and done a backup with no luck then all I can say is good luck!

  • Replace grouped window task icon from java coffee cup with customised icon

    I have an application that a child JFrame instance can be triggered from the main JFrame instance. In that case, these JFrames are collapsed under one group icon on my task bar in windows, which is the java coffee cup icon with tooltip of Java(TM) Platform. When i expand the list, each individual JFrame still has the right personised icon. Can anyone suggest how do I customised the group icon to be my own icon and have personised tooltip? Thanks in advance.
    Edited by: muagi on Sep 22, 2009 3:20 AM

    mbisping, stop spamming links for a commercial product to old threads, or your account will be blocked without further warning,
    I'm blocking your post.
    db

  • How do I remove the coffee-cup icon in Windows's frames?

    Hi Java developers!!!
    I'd like to know if there's a way I can remove that small icon at the upper-left corner of an AWT Frame that
    appears on every window under Windows. As far as I know, there are licensing restrictions that won't let me
    distribute any program that use these copyright-protected icons/images in any program unless Sun
    explicitly tells me so. Ideas anyone?
    - Heriberto Delgado
    Sui Generis S.A.
    ([email protected])

    (Sorry for my bad english, I'm from Costa Rica.)
    Ok, let me explain it. Frame.setIconImage() gets rid of the coffee-cup icon in the frame, so that the old icon is
    not visible again in the application, thus it's not infringing any Sun-imposed copyrights on it's usage. That works
    when the application is run under Windows, and possibly other OSes. However, Windows is my only current
    development platform, and I don't know how my application will really look on other OSes, as
    Linux/Solaris/MacOS/etc., and I'm actually worried about if other Sun-proprietary icons/images will appear in my
    application when opened within these OSes, besides the coffee-cup icon. Should I be worried, or not?
    Again, thanks for your quick response!
    - Heriberto Delgado
    Sui Generis S.A.
    ([email protected])

  • Java coffee cup but no action

    Hi there
    When I go to web sites that require Java I get a picture of a coffee cup and some arrows going around it but nothing happens....there is no download.
    Any advice on how to get past this?
    Many thanks
    Colin, on Fathers Day, from Sydney.

    Ok. I've been living with this problem for a couple of months and decided to fix it tonight.
    It took about an hour and a half in my case (lots of pref files!).
    I found the following MacFixit tutorials concerning this subject:
    http://www.macfixit.com/article.php?story=20060123081353849
    http://www.macfixit.com/article.php?story=20060123081353849
    The second link covers the method that worked for me: Create a New User Account.
    I moved my user library folder to the desktop and logged out. This created a new user library folder. I then moved my folders back one by one and logged out, After logging back in I would open Safari to the following link which lets you test if java is working.:
    http://www.java.com/en/download/help/testvm.xml
    I narrowed the folders down to the Preferences Folder.
    I then moved the prefs back by group ( files starting with the letter A to E, and so on....) and logged out and then logged back and tried the java test site.
    You may wish to start with the com.apple. files.
    My problem was the file called "com.apple.LaunchServices.plist".
    It's great to have java working with Safari. Firefox is nice but I prefer Safari with it's .Mac syncronization and keychain support.
    Good luck!
    G4 Desktop, MacBook Pro   Mac OS X (10.4.7)  
    G4 Desktop, Powerbook G4   Mac OS X (10.4.3)  

  • Change Coffee cup icon on JDialog & JOptionPane

    I try to change the coffee cup icon on my JDialog and JOptionPane.
    My JDialog box does not load the Parent Icon (JFrame icon), and not even show a coffee cup icon.
    My JOptionPane would just show a coffee cup icon, eventhough its parent is the above JDialog with no icon.
    Is there anyone know how to fix this?
    I'd like show my icon on the JOptionPane instead of the coffee cup icon.
    And also to show my icon on the JDialog instead of nothing, not even a coffee icon.
    Any help is appreciated.
    CL

    Passing a parent with the desired icon to the JDialog/JOptionPane should solve your problem, however there is a bug in swing that prevents any icon from showing in the titlebar if a JDialog is made non-resizable (through a call to setResizable(false)).
    The bug adatabse says that this has been resolved but I am using jdk 1.3.1 and continue to have this problem.

  • Coffee Cup

    When I open a Messenger Window, I get a coffee cup with a red exclamation point on it.
    Does anybody have a solution to this. Thanks!

    Aww Peter, still with this issue ?
    It stopped working after I did some clean-up on Safari awhile back.
    The cleaning and speeding up Safari really should not be the issue that created this this problem.
    Try Safari in a other user or "Test" account, to create one:
    Under the Blue Apple go > System Preferences /Accounts/ Login Options use the [+] to create one, for ease you could enter test in all the fields.
    This will help to determine if there is an issue with your user account only or a system wide problem. It maybe a preference corruption or a 10.3.9 issue.
    Look at this page on a fix that worked for this person when he & others would get this error this error Java.lang.UnsatisfiedLinkError: getProxyConfigURL
    http://www.tomrafteryit.net/javalangunsatisfiedlinkerror-getproxyconfigurl-error -on-os-x/
    This was the result on my Applet test using same version os/safari & Java as yours.
    http://www.student.oulu.fi/~sairwas/object-test/java/test4.html
    I will try these link on java on my Tiger Powerbook & bet it will have better results.
    Also check this out on how to configure the browser.
    "your web browser is: Netscape Version: 5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.8 (KHTML, like Gecko) Safari/312.6 "
    http://www.javatester.org/configuring.html
    Good luck, hope you get it sorted out, please keep us posted; )
    Eme

  • Add animated gif to JFrame toolbar in place of default coffee cup

    Hi,
    I am sorry if someone has already asked this question. I have searched the forums but only found aswers relating to adding static images to replace the default coffee cup. Is it possible to replace this image with an animated gif? When I add an animated gif with the following code:
    URL imageUrl = myProgram.class.getResource("image.gif");
    ImageIcon icon = new ImageIcon(imageUrl);
    JFrame frame = new myProgramFrame();
    frame.setIconImage(icon.getImage());
    I am loading the image from an executable jar.
    The program fails to load (but produces no errors).
    Thank you for any help you can offer.

    Hmmm ... intrestin, I've just modified a *.gif file of my own to make the icon animated and 'java MyProgram' just hangs at the command line -so, I guess you're stuffed with it. I can't think of a workaround either, sorry

  • Why in the world would Apple make the track pad LESS useful in OS Lion?  I hate that I can't g back to the top of a web page with a singe swipe.  And of course all the other gestures are totally reversed.  IMHO, this was not an imporvement.

    Why in the world would Apple make the track pad LESS useful in OS Lion?  I hate that I can't g back to the top of a web page with a singe swipe.  And of course all the other gestures are totally reversed.  IMHO, this was not an improvement.

    No one here works for Apple.
    Go to System Preferences > Trackpad > Scroll & Zoom, and uncheck Scroll direction: Natural.

  • Coffee Cup Flash Photo Gallery

    Hello Everyone,
    Do you know, if Coffee Cup Flash Photo Gallery works within a
    Flash website. Has anyone used any
    CoffeeCup software with FLash CS3?
    Thanks for your help!
    Franchelle

    "ImagicDigital" <[email protected]> a
    �crit dans le message de
    news: e54tsr$qit$[email protected]..
    > Check out SlideShowPro:
    >
    >
    http://www.slideshowpro.net/
    >
    > It's very classy and malleable. You can set up the
    original XML file and
    > then your client can edit it in a simple text editor to
    add, swap, or
    > caption images. I think it's around $20.
    Wahou ! Very nice !
    Do you know other extensions (not only photo galleries) of
    this quality ?
    seb

  • TS1347 Just downloaded ios7 on my iPad2. Hate that I cannot see the items in my calendar. The letters are way too small and are grey in color. I need the fonts to be dark and very defined...I have health issues-poor vision.

    Just downloaded ios7 on my iPad2. Hate that I cannot see the items in my calendar. The letters are way too small and are grey in color. I need the fonts to be dark and very defined...I have health issues-poor vision.

    Settings>General>Accessibility>Increase Contrast
    Settings>General>Accessibility>Bold Text
    are some settings that may help.
    There are other settings there ...they may not be to your liking but try them all anyways.
    But that's about all you can do for now...except to voice your opinion to Apple here:
    http://www.apple.com/feedback/ipad.html

  • CANCEL Button Not Obvious!  I HATE that

    I Hate that I just wrote this specific question and accidentally hit the CANCEL BUTTON and POOF! GONE!!
    There was NO "Are you sure"  to prevent this.
    The Cancel button should/could/better WOULD have a cross through it so it is obvious to a tired person!
    Bugger!

    Comments about the Communities will best be posted in the forum specificallly for that purpose:
    Using Apple Support Communities
    where the Hosts can more easily spot them. As to your specific issue, that may be an issue of Jive, the software that these forums run on, and not something Apple can change. But you can comment and perhaps it's something the Hosts can either implement or urge Jive to add in a future version.
    Regards.

Maybe you are looking for

  • Error while updating to DSO

    Hi gurus My DTP fails wheni update data from PSA to DSO..the error simply says: "Data Package 1: Errors During Processing". processing terminated..... And i am unsble to drill down any further to get the exact reason behind the error...but when i che

  • ITunes corrupted, must be reinstalled. Now 'the file iTunes Library itl. cannot be read, created by newer version of iTunes.'

    My iTunes programme on Windows PC has suddenly become corrupted and must be reinstalled. After two attempts, I installed the requisite 64 bit version, but it won't open as "The file 'iTunes Library itl.' cannot be read because it was created by a new

  • Missing information

    I have songs that I have downloaded. I have them on itunes, and I can see them on my IPOD in the songs list. However, when I search by artist or genere on my IPOD, I do not see the songs. I have triple checked to make sure the artist name and genere

  • Users Responsibility END DATE

    Hello Gurus, I required a script which will check the END_DATE of the responsibilities assigned of a particular user. Also how can I extend the END_DATE of the assigned responsibility from backend. Please suggest. Thanks- Pokhraj Das

  • Java update 1.6.0_51 brings in ennoying popup

    After recent update to 1.6.0_51 java applications show up a fast-disapperaing popup when they start. Taking a photo shows: Do you want the Application XXX to accept incoming network connection? Deny     Allow This seems not to hurt, but gives a very