To get Windows standard icons

How can I, from inside a Java application, get Windows applications standard icons, like Word's, Notepad's, etc.?

Make a gif with the graphic you want on the button.. Then you can add the gif to a button with the following code:
    javax.swing.JButton print = new javax.swing.JButton();
    javax.swing.ImageIcon ImageIcon3 = new javax.swing.ImageIcon
            (new java.net.URL("http://whatever.domain.net/CTprint.gif"));
    print.setIcon(ImageIcon3);
    //add button to frame / panel / whatever..There's a way to put the gif in a jar file instead of using a URL, but I find the URL's are less problematic.. And I dont have any code laying around for that to show you..

Similar Messages

  • How do I get Windows Key/Icon to work again ( Not a keyboard fault - No menu, No apps )

    Had a technical issue with a crashed application, so tried a rollback to a stable point in time. Went OK and solved the problem I had, but absolutely screwed up Windows 10.
    Pressing the windows key does nothing. Pressing the start icon does nothing. I can't type in anything in "Search web and windows". If I run something like calculator, it appears and then vanishes before I see anything other than a blank window.
    All the new apps are completely stuffed, but all the normal Windows 10 functions are otherwise fine. I can run control panel ( Can't run update - that's an App ) - I can run command  prompt OK. Programs work fine ( just not apps ). I think a critical
    update is missing and severely screwed things up, but I can't update because that's busted. Anything that's not Windows 7-ish doesn't work anymore - like it doesn't exist.
    Yeah, I know some people will say that's an improvement but too much stuff needs the new system and I want it all back - :( How do I fix it without a complete system rebuild?
    Thanks
    David

    .......... I think a critical update is missing and severely screwed things up, but I can't update because that's busted. ..............
    To do Windows Updates without Start Menu, try this method given by Insider Hub:
    To check for updates without the Start menu, do the following:
    Select the Internet Explorer icon.
    Type http://update.microsoft.com into the address bar and select
    Enter.
    If you are prompted to run a control, click
    Yes.
    This should bring up the Check for updates window. Install updates.
    If no update is available, or the available updates don’t fix the issue, restart the device–this should make the Start menu appear. To reboot without using the Start menu:
    Hold down the Windows key and select L to lock the device. Swipe up or select
    Enter to open the sign in screen. Select the
    Power icon on the log in screen to restart the computer.            
    OR
    Hold down the Windows key and select R to bring up a command prompt. In the prompt, type
    shutdown –r to restart
    If that does not work, perhaps a reinstall is in order.

  • MSI GP60 - Not getting "Reserve Windows 10"-icon

    Hi. I have the MSI GP60, and I want to reserve my copy of Windows 10, but the icon doesn't show up.
    I've done everything I could find oin the internet, like updating, checking for installed updates etc. , but it still doesn't show up.
    Any suggestions?

    Hi,
    See if this helps. I don't have it too.
    http://superuser.com/questions/922441/why-don-t-i-have-the-get-windows-10-icon
    I have not tested, see if it works for you.

  • I have a windows 7 pc using itunes 10.6 how do i get the speakers icon on my itunes

    I have loaded airport utility but I rescan nothing.  I can't get the speakers icon to display in itunes.  I'm running windows 7 64k version
    Steve

    I think I may not have explained the problem correctly . The duplicate music is on my Itouch.  I do not have any duplicate music on my Itunes.   I did do as you instructed yesterday and there was none.  I have a feeling this has to do with the Cloud or some other new feature of OS5.  Its weird too because I did just buy a new album off of Itunes and it did not happen.  Just with the music I had purchased before I downloaded OS5.  If i have to, I'll make an appointment at the Apple store, I just don't have time to do it this week.  I really appreciate your help tho!

  • How do I get rid of icons around Finder's window?

    How do I get rid of icons (mere document shortcuts) around Finder's window (in the frame, the grey area).  They were not there in the first place, just got there somehow.  For example on the left side I have: documents, desktop, applications, movies (there are all good).... and a silly pdf document that shouldn't be there.  I can't move it or bin it, it just stays there...
    There are also more such icons (shortcuts to documents) across the top of that window: amongst the "View", "Action", "Dropbox" icons (which are all good), there are also shortcuts to pdf documents or folders of documents which were never meant to end up there...  How can I clean this up?
    Thanks for any info!

    Hello Couscous&Croutons,
    The following article provides step-by-step directions for modifying the Finder's toolbar.
    Customize the Finder toolbar
    http://support.apple.com/kb/PH4002
    Cheers,
    Allen

  • How do I get the PDF icon to show on all of my PDF files?

    how do I get the PDF icon to show on all of my PDF?

    Generally the icons are a selection that is set in MS Explorer (on the PC). Depending on the version of windows, there are various ways of getting at the properties related to an icon, including what application would open the file.

  • How do I get the device icon to show in the itunes  app?

    How do I get the DEVICE icon to appear back in the itunes app as when I plug in my ipod it doesnt show the device icon?

    Hi...
    Help here > iOS: Device not recognized in iTunes for Windows
    Start with restarting the Apple Mobile Device Service first.

  • How do I get the speaker icon to STAY in my system tray?

    How do I get the speaker icon to STAY in my system tray?  Every time I mute the speakers, the icon disappears from my system tray.  I have a very difficult time getting it back, and I can never remember how I do it.  Can someone give me some helpful, easy to remember steps on how to KEEP the sound/volume icon in my system tray?  Thanks.
    Candy-Iowa
    Compaq Presario CQ62-214NR Notebook PC
    Windows 7 64-bit operating system

    Candy-Iowa wrote:
    I did what you said.  There is not a "system icons to always show".  What it does say is "turn system icons on or off".  The one for the sound icon is greyed out and CANNOT be clicked on.  This happens every time I mute the speakers.  
    So, how do I get it back?  
    Candy
    In the menu that said "turn system icons on or off", try clicking on the blue writing on the bottom left of that menu that says "restore default icon behaviors".

  • How do I get the Firefox icon to appear on my menu bar instead of a question mark?

    I have been using Firefox 3.7 and recently downloaded 4.0
    An icon showing Firefox on what lloks like a memort stick icon appeared on my desktop. I am a Mac OSX user. When I dragged the icon to my menu bar, a question mark (?) appeared instead of the Firefox icon. How do I get the firefox icon to appear correctly on the men bar?

    Welcome to the Apple Community.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different versions of the same software. You might also try moving the Apple TV away from other electrical equipment.

  • How do i get my downloads icon back on my dock?

    How do I get my downloads icon back onto my dock?

    Welcome to Apple Support Communities
    To get your Downloads icon in the Dock, open a Finder window and drag Downloads from the Finder sidebar to the right part of the Dock, so it will show up in the Dock

  • Windows Folder icon instead of Officejet 6500a Plus E710n icon in Devices and Printers

    Can anyone help me to get the OfficeJet 6500a Plus e710n printer icon to display properly in Devices and Printers?
    I recently reinstalled Windows 8.1.  However, when I installed my printer, instead of the printer icon appearing in Devices and Printers I get a generic yellow Windows folder icon.  The Fax icon is OK, just the printer icon is wrong.
    If I double click on the icon, I get a mostly blank page with a message near the top saying: "Updated information is available about your device.  Click here to download or learn more."  If I click on the notice, a dropdown menu appears with "Download updated information" or "Learn more".  If I choose downloaded update information, a new printer window appears which is mostly blank except for a message at the centre of the window which says, "No tasks are available on this page"  The Learn more option just gives me info about updating drivers.
    The printer icon on the Start menu is fine.
    I've used HP Print and Scan Doctor to uninstall and reinstall my printer but this hasn't helped.  The program found a problem with the printer driver and fixed it, but that hasn't changed the icon either.
    I am running Windows 8.1 Pro 64bit fully up to date, and used the latest full version of the HP installation program for the printer (not the basic version) and HP Print and Scan Doctor v4.6.
    This question was solved.
    View Solution.

    Hi,
    Try following these steps and let me know if that may help:
    From the control Panel select Network and internet and open the Network and Sharing Center.
    Click on Change Advanced Sharing Center.
    Ensure that Network Discovery is trned on but uncheck the box next to "Turn on automatic setup of network connected devices".
    From devices and printer right click the printer and select Remove Device, repeat the for the Fax icon.
    Note: if no such option exists for the printer follow the next steps.
    Right click the background area and select Device Mahager.
    Remove any instance of the printer from Imaging Devices, Printers, Print Queues, Multifunction Adaptors, Other Devices (if a such exists).
    Once you are done the printer should no longer appear under Devices and Printers...
    Open teh HP Officejet 6500 E710 software, select Connect a new Printer and check for any differnce.
    Hope that helps,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • I want to email photos on a different email system, gmail. How can I get the email icon of iphoto to put my photo on a gmail email?

    I want to email photos on a different email system, gmail. How can I get the email icon of iphoto to put my photo on a gmail email?

    If you have Mail setup a a client for your Gmail account set iPhoto to use Mail.  Then select one of Mail's stationary templates for photos and use it. May not be as good as the iPhoto templates but will be fancier than a plain email window.
    Click to view full size
    OT

  • I can't get rid of icons in Places -- according to the manual, you're supposed to be able to just drag them off and they go "Pouf!" and disappear. But no...

    I can't get rid of icons in Places -- according to the manual, you're supposed to be able to just drag them off and they go "Pouf!” and disappear. But no...

    Just "ctrl" and mouseclick the desired icon and select "Remove from Sidebar" from the little pop up window.. That should do the trick (in your vertical "PLACES" column)
    NB: if you want to get rid of icons on the top (horizontal) bar of your finder window, then you need to go to the item with the mouse, press "cmd" ("apple" key) and drag the icon off the finder window onto your desktop and let go (if you want the "Pouf!" effect

  • Yoga 2 Upgrade to Windows 10 - icon missing

    I have Lenovo Yoga 2 13'' laptop running Win 8.1 I had a Win 10 icon (reserver your Win 10) and.... it disappeared 4 days ago. I tried all possible scripts and tips online, here is what I've done: All tricks fromhttp://www.askvg.com/fix-get-windows-10-upgrade-app-icon-is-missing-in-taskbar/  Nothing  I read somewhere it might be because I had Win 8 and upgraded to 8.1 I do not need to reserver, want to make sure I will update when MS releases it... Any thoughts? Any ideas? 

    hi m1979,
    Welcome to the Forums.
    Can you ensure that the KB2919355 (Windows 9.1 Update) and KB3035583  are both installed from the locations below (the latter is responsible for adding the Get Windows 10 update notification).
    If doesn't work then you can opt to go back 4 or more days ago prior to the problem using System Restore and 
    Control Panel (icon views) > Programs and Features > View installed updates
    Control Panel (icon views) > Windows Updates > View Update History
    In addition, you don't really need to reserve and you can still get Windows 10 wihout the reservation.
     From the Windows 10 Q&A:
    Can I get my free Windows 10 upgrade even if I didn’t reserve?
    Yes. The easiest way to get the free upgrade is to reserve, but you can upgrade even if you don’t reserve.
    Once Windows 10 is available, we’ll begin notifying devices that their free upgrade is available. Just open the Get Windows 10 app to schedule your upgrade. Note: Some notifications will go out as soon as Windows 10 is available; others may go out in the weeks or months following.
    Regards
     

  • Getting window's updates

    After replacing hard drive and using recovery disks to restore to factory settings, I cannot get Window Updates. Even if I change the settings in Windows Update in control panel, it stays red with an x in the shield.

    Hi @1314dogger0002 ,
    Thank you for visiting the HP Support Forums and Welcome. I have read your thread on your Compaq Presario CQ57-229WM Notebook and not installing drivers.
    This could be  a Microsoft service issue. Here is a fix from Microsoft. First, try to click the Windows icon, type services in the Search box, and then click or tap View Local Services. Scroll down to the Windows Installer. Startup type should be - Automatic, and Service Status should be - started
    Restart the computer after this step and try installing updates again.
    Here is a link to the HP Support Assistant. Just download and run the application and it will help with the software and drivers on your system this will help update the system.
    Hope this helps.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

Maybe you are looking for

  • Why HP remove support for msata drives in the ENVY 15t - q100 ?

    The previous models had msata support, but the ENVY 15t - q100 (the one with no dvd drive) has the space for a msata drive, even with the screw hole but they remove the slot from the board. This is a $900 laptop, why they did that?

  • Apple wired keyboard.  Number pad not working with Windows Office 07 via bo

    I have a 27' Quad core i7 with windows 7 loaded via bootcamp. i have Office 2007 loaded in the Windows partition. My problem is that the number pad on my wired apple keyboard does not work in excel or word. The number at the top of the keyboard work

  • A query to get all sales processed in 2007 ?

    Hi All, I got a requirement from user saying " We have situations where "new" sales get processed against already existing or "old" sales orders. I need a query which shows all sales processed in year 2007 by sales order or whatever other identifier

  • MM : Stock Transfer Invoice Change

    Hi ! For Stock Transfer from one plant to another we first make a STI, then Outbound Delivery created through VL10B, then finally make the Post Goods Issue through VL02N. My problem is that even after this process is completed, the system allows to m

  • Cycle Count - LX26 vs LICC

    Hi! I would like to confirm the functionality for the above stock take transactions. If I have multiple materials set with different cycle count indicator and these materials can be placed in the same storage bin, does that mean that I should be runn