Creating TaskBar Icon

We have a Java application that runs from a CD-ROM and I am trying to create a TaskBar Icon or Desktop Icon to facilitate the user with easy access to turn on/off the application. Is there any ready-to-use plug-in in java or other program that I could use. Any help or information in this regard is appreciated.
Thanks.

You won't be able to do this within Java because different operating systems have different ways of identifying the CD-ROM.
However, you should be able to create a shortcut in MS Windows which points to either the CD-ROM or to a batch file that launches the Java application. I think you can create a similar shortcut on MacOS and OS-X. In both cases, you will be able to pick an icon for it.
In Linux and UNIX, writing a shell script to access the application is trivial. Picking an icon for it however would be incredibly difficult because of the wide range of window managers available - what shows up on the KDE taskbar won't necessarily show up on GNOME.
The fundamental problem is different operating systems have different ways of checking to see if your application is in the CD-ROM drive. If it was on the computer hard drive OR you wanted the user to access the CD and then launch the application via its icon, you wouldn't have a problem.

Similar Messages

  • Is using a taskbar icon in .exe combined with windows service a good idea as part of an alarm system?

    My client wants an alert system and his focus is on the taskbar.  He wants the icon to change, (and ideally even blink) and also to have some beeping when a new work request comes in.  It needs to run constantly, and grab the attention of an operator
    who may not be paying much attention to the screen.
    I’m excited to develop this, but after years of web development, I feel paralyzed.  I must be making this harder than it needs to be, but here’s my plan…  I'll start with a windows form, which will run minimized, and have an icon that looks like
    a hammer in the taskbar.  A timer would continually check for a new service requests.  When it sees one it would change the toolbar icon to a red x and sent a few dozen beeps out to the operator.  I think I need a windows service running that
    checks periodically to see if my windows exe is running.  If not, it should start it up.  Perhaps this could be a scheduled task, rather than a service.  
    Some of my questions are;
    How do I change the taskbar icon on the fly?
    Is this a good idea, or is there an easier way?
    Snippets of code or related articles are most welcome!
    Thanks!

    So I created a windows form and added a timer to check for unacknowledged requests.  If it finds any, it changes the icon on for the taskbar, and makes a beep.  Simple, but it works.  However, I'm having a beep of a time trying to figure out
    where to put the ico files so they are where they need when I publish it.  Others seem to suggest adding them using the properties of the application, under application / resources / Icon and manigest blah blah blah.  But I can only seem to add one
    there.  I need the three different ones.  I'm confused!  Any suggestions?
            private bool iconBig = true;
            private Icon redcross = new Icon("..\\NewRequest.ico");
            private Icon redcross2 = new Icon("..\\NewRequest2.ico");
            private Icon hammer = new Icon("..\\Hammer.ico");
     private void timer1_Tick(object sender, EventArgs e)
                List<WorkRequest> myWorkRequests = WorkRequestData.WorkRequest_unAcknowledged();
                if (myWorkRequests.Count > 0)
                    for (int i = 0; i < 5; i++)
                        SystemSounds.Beep.Play();
                        if (iconBig == true)
                            iconBig = false;
                            this.Icon = redcross;
                            this.Refresh();
                        else
                            iconBig = true;
                            this.Icon = redcross2;
                            this.Refresh();
                else
                    this.Icon = hammer;
                    this.Refresh();

  • Taskbar icons disappear in Windows 7

    I have recently installed Windows 7 Ultimate.  If I click on the taskbar icon for an open window/application, the window is minimised AND the task bar icon disappears.  I have to use ALT-TAB to find my window again.  It is infuriating. 
    I have Win 7 at work, and Win Vista on my laptop. In both cases clicking on the taskbar icon will miminise the window, but leave the taskbar icon.  Clicking the icon again will restore the window.  How do I set my Win 7 Ultimate to do the same?

    I'll do my best!
    not_a_computer_techie,
    I have to make at least a few assumptions, so bear with me.
    I'll assume you understand what the "Desktop" is.
    Right-click (your mouse) on the Desktop, (left-)click "New", click "Text Document", press "Enter" on the keyboard.
    Double-click the new text file you just created (named "New Text Document.txt").
    You'll either have to copy the following statements and paste them into the file, or if you don't know how, enter them by typing them in. Obviously, there's less chance of an error if you copy and paste them.
    taskkill /F /IM explorer.exe
    cd /d %userprofile%\AppData\Local
    attrib -h IconCache.db
    del IconCache.db
    start explorer
    Now, look at the top left of the window where you just entered or pasted the statements. You should see the words "File", "Edit", ..., "Help". Click "File", click "Exit". It will then ask if you want to save
    your changes; click "Save".
    Change the name of the file from "New Text Document.txt" to "New Text Document.bat" (i.e., change the last three characters from "txt" to "bat") and
    click "Yes" when prompted.
    Right-click "New Text Document.bat", click "Run as Administrator". You must now reboot your computer for the change to take place. Every program that had an icon missing will have the icon restored when the program is run.
    I recommend you rename the file from "New Text Document.bat" to "Icon Cache Refresh.bat" and save it somewhere for the next time this happens (and believe me, it will).
    Hammer842

  • Firefox in taskbar icon, changes back?

    Hello.
    I changed the firefox icon with resource hacker and if I open it from the firefox folder everything is fine, but when I pin it to the taskbar and open it, it turns back to the original icon and stays like this.
    I tried this already, no success.
    https://support.mozilla.org/de/questions/844131#answer-270774
    Can anyone help me? I really want a custom icon to go along with the rest of my theme, but it seems the firefox doesn't want this :P
    I'm running Windows 7 x64

    Do NOT use resource hacker to change your icon because it might make firefox unstable. Instead, use this :
    * Unzip omni.ja in your Firefox application directory.
    * Delete omni.ja or rename it (e.g. omni.ja.off).
    * Create directories icons/default in the Firefox chrome application directory.
    * Copy the icon file you want to chrome/icons/default/main-window.ico
    * Start Firefox and enjoy your new icon
    from : [http://stackoverflow.com/questions/64174/how-to-change-firefox-icon stack overflow]

  • MISSING TASKBAR ICONS

    For some unknown reason, all taskbar icons except time/date have vanished from my Toshiba T115D-S1120 Satellite.  They aren't hidden, they are GONE!  They are grayed out on the show/hide page.  I installed a couple of gadgets from the ones Win 7 Pro 64 comes with, but nothing else.  I'm stumped.  Thanks in advance for any info you can provide.  Jim

    OK, this is getting really strange!  I created a new user and now have most of the icons in that account only.  I now have the volume, battery and network icons in the taskbar where I want them.  However, the Safely Remove Hardware (USB) icon and a few others are not in the hidden icon drop down.  Obviously, I need the USB one and would like at least access to the others.  Any idea where I might find them?
    Also, when I tried a system restore I only had one restore point a few days ago.  I tried it, but it didn't take me back to before the icons disappeared.  No idea where all the other restore points went.  I have auto updates turned off, but I have updated the computer several times.  As I understand it, each time I run updates, the computer should create a restore point.  I just checked, and MS has 13 updates they want me to install.  The notification wasn't on the other two users (me and guest) because there was no icon in the taskbar.  Problem is, I'm afraid to download/install the updates without a restore point first.
    As I said; strange...

  • How do I change the taskbar icon to use the new icon?

    I created an icon (Visual Studio 2013) that I placed on the Windows 7 taskbar a month ago. 
    I have changed the icon.  The new icon displays correctly when I place a shortcut on my desktop. 
    When I unpin the old icon, and drag the new icon to the taskbar, it displays the old icon. 
    When I run the program from the taskbar, the program displays the new icon.  However, the old icon remains on the taskbar.
    How do I change the taskbar icon to use the new icon?
    bhs67

    It's because they're cached.
    The cache will usually be refreshed only when you reboot.
    You can, however, force a refresh.
    Choose run, type or paste in:
    ie4uinit.exe -ClearIconCache
    More info:
    http://superuser.com/questions/499078/refresh-icon-cache-without-rebooting
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • How can I create an icon that when clicked will open and maximize an image file?

    How do I create a icon that when clicked will open and maximize an image file?  I have tried to use the simple image widget with maximize upon tap/click - however I am can only size the image really small and put on the page.  I'd prefer to have a graphic that when clicked it simply opens up the image.  This is for a very simple question/answer book.   The user is suppose to look at a picture and locate something.  I want to put an 'Answer' graphic on the image and then the user can click the 'answer' graphic and it will open up the picture with the answer identified. 
    Is this possible?

    Have yiu tried the PopOver widget?  You can drop an image into it, maximise the image and the widgets window...But, you cannot get it full screen.
    With iBooks Author, you either learn to use what is available within the app, or look online for third party widgets to purchase which suit your project.

  • I downloaded the 30 day free trial of Photoshop on 9/11, but have not been able to open it, or even find it on my computer.  I do have the Adobe Create Cloud icon, and when I click it it list PS as downloaded and lets me access tutorials, but that is all.

    I downloaded the 30 day free trial of Photoshop on 9/11, but have not been able to open it, or even find it on my computer.  I do have the Adobe Create Cloud icon, and when I click it it list PS as downloaded and lets me access tutorials, but that is all.
    Please let me know how to open and use PS.
    Homer Guy

    Hi Homerguy,
    If you are using Mac, please open the finder window click on go and choose applications and try to launch Photoshop from there.
    If windows, please navigate to C:\Program Files\Adobe\Adobe Photoshop CC 2014 and double click on the Photoshop.exe file.
    Thanks

  • Can I create an icon for a document in iCloud and place it in the dock for easy access?

    I would like to create an icon for a spreadsheet that is stored in iCloud.and place the icon in the dock for easy access.  This is possible with documents stored on the iMac.   Thanks

    How did you save Word documents to iCloud, Word will not do that so how did you? Did you use another application or maybe drop them in the Mobile Documents folder?
    Please explain the how, then it may be easier to answer your question.

  • How do you create Document Icons on the Home Screen?

    I have an iPad to use exclusively in the kitchen and would like to make my recipes appear as indivdual icons on the home screens with an associated picture.
    For example; Pumpkin Soup
    I would like to create an icon with a picture of pumpkin soup and the same as a title.
    When you tap the Pumpkin Soup icon a page appears with instructions and perhaps a picture or two.
    So my question is: What are my options for creating these stand-alone icons that bring up a page that describes a recipe/document.
    I understand that there are many 'recipe' apps avaliable, but none that I've encountered have the ability to save individual recipes as icons on the home screen.
    I dont care whether I use a recipe app or some other processing/publishing app to achieve this.
    I would very much like the recipe/document to appear on screen crisp and clear without program formatting around it.
    Any help would be greatly appreciated.
    Thank you in advance.

    I'm aware of the Safari shortcut, but was hoping there was a document, etc shortcut.
    Thank you for your reply James Ward4

  • How to Set Taskbar Icon in Windows 10?

    I have installed windows 10 preview version and try to develop apps on it.
    I use
    SendMessage(hwnd, WM_SETICON, ICON_SMALL, myicon); to change the application icon before win 8.1.
    But I found that the icon in taskbar is no longer the same as that of window icon in windows 10!
    It is the same as the tray icon (next to the clock) now.
    This is quite strange and the resolution is blurred since the tray icon image is too small.
    The problem occurs on the desktop notification icon, too.
    Dropbox windows app has the same problem (app icon in taskbar is the same as the tray icon, so as the notification icon)
    Is this a new design for taskbar icon for windows 10?
    If so, is there a API to change the icon to a customize image?
    Thank you very much!

    Hi,
    Thank you for your information!
    I still have some questions:
    1. What does "same functionality" mean? It seems that the notification is a new feature in win 10.
    2. I cannot find any update about the taskbar icon from win 8.1 to win 10. But the way to configure the icon is changed. This really bothers me because the blurred icon looks so ugly...
    Thank you very much!
    1. sorry typo, "some functionality"
    2. can't help you there, i'm not encountering blurred icon. might be because of graphics driver compatibility.
    try installing the latest graphics driver.

  • When I click on apps in Creative Cloud (via taskbar icon) it shows only Photoshop CC as installed and Lightroom as something to be installed!  I already have LR 5.7 installed and this has been updated through CC.  I dont understand why it's now showing as

    When I click on apps in Creative Cloud (via taskbar icon) it shows only Photoshop CC as installed and Lightroom as something to be installed!  I already have LR 5.7 installed and this has been updated through CC.  I dont understand why it's now showing as it needs to be installed!?!?  It wasn't like this the last time I looked.

    Hi,
    Please refer to the help document:
    Apps panel doesn't show installed Creative Cloud apps
    Regards,
    Sheena

  • Outlook Taskbar icon dissapears, even though outlook is still running.

    One of my users has come across a strange phenomenon in the behavior of outlook 2010.
    The users perspective:
    My outlook program has dissapeared, even though I still have emails open... ARGHHHHHH AHHHHHHHH
    Infrastructure Engineer perspective:
    Don't believe user, convinced user is "accidentally" closing outlook, or ignoring a message popup, or clicking the wrong button on message popup. So I watched the user remotely for 30 minutes, until
    sure enough, Outlook programs just dissapeared from task bar, but open emails were still stacked on the windows 7 Taskbar icon.
    Digging through Event viewer highlighted nothing at the time or 30 minutes I had been watching.
    Now the interesting part.
    Obviously Outlook.exe is still a running process, and right clicking the task bar icon still gives you Outlook options for new emails etc, and can click MS Outlook 2010 to open the main Outlook interface again, which opens rapidly as if it were invisibly
    minimized. I also noticed that when it had dissapeared the right click menu "Micorosoft Outlook 2010" button was affixed with " (2)".
    So, its looks as though MS has not dissapeared but the pinned task bar icon is looking for an instance of outlook affixed with (2) at the end.
    Closing outlook and unpinning outlook from task bar, open outlook from scratch gets rid of (2). Which can then be pinned again, soon after outlook dissapears and the (2) is back again.
    The user is built using the same windows image and MS 2010 deployments and updates schedule as 5000 other people, no one else has reported this issue. Any Ideas anyone?
    p.s. I have no idea why the text in this post has changed size, something to do with the delete key being used at the end of a paragraph, in order to make a new line instead.
    Kind regards
    F

    Outlook has a notification area icon as well as a taskbar icon. If you right-click the notification area Outlook icons one of the options is 'Hide when minimized'. If that is checked then it will behave as you are describing.
    Good luck!

  • How to create shortcut icons for settings

    how to create shortcut icons for settings

    I also have this issue. Apple has indicated they want to have a larger presence in businesses. VPN is a huge part of any business network. Frustrations are hightened by the VPN disconnecting whenever the device Auto-locks. We have a definite need to make VPN's on iPads less tedious...

  • How to create the ICONS and SYMBOLS

    how to create the ICONS and SYMBOLS
    Title was edited by:
            Alvaro Tejada Galindo

    HI,
    Check this sample code....Not mine...
    REPORT SHOW_ICONS.
    TABLES: ICON.
    INCLUDE <ICON>.
    FIELD-SYMBOLS: <F>.
    SELECT * FROM ICON.
       ASSIGN (ICON-NAME) TO <F>.
       WRITE:   /(5) <F>, 20 '@',21 ICON-ID+1(2),23 '@',ICON-OLENG,
                ICON-BUTTON,ICON-STATUS,ICON-MESSAGE,ICON-FUNCTION,
                ICON-NAME.
    ENDSELECT.
    Also Try this,
    INCLUDE <symbol>.
    INCLUDE <icon>.
    Write:/ 'Phone Symbol:', SYM_PHONE AS SYMBOL.
    SKIP.
    WRITE: / 'Alarm Icon: ', icon_alarm AS ICON.
    For more information check out the following link it will help you.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e4a35c111d1829f0000e829fbfe/content.htm
    Regards,
    Padmam.

Maybe you are looking for

  • Manual Excise Invoice Number- J1IIN

    Hi Experts, My client require manual excise invoice number for local as well as export invoices in J1IIN. kindly advice how to do this. Thanks in advance Regards, Prashant

  • 10.9.2 gmail sync issue

    Like many, I have been waiting for 10.9.2 to cure issues with the Mavericks Mail app when using gmail. Unfortunately, the sync issue has not changed. Sometimes the Mail app will sync with gmail, but many times I have to close and restart the Mail app

  • I want to add an image to a title

    The photo album title option begins with an image and then it pushes into and then slides right into the next scene which should correspond with the image that it should have in the title page. I cannot for the life of me figure how to replace the im

  • Size of imovie project & importing into idvd

    So I would like to transfer my imovie project into idvd with minimal quality degradation. Does the quality progressively get worse once the project goes beyond 4.6 G? What is the maximum size that can go into idvd? Also, I had difficulty importing AV

  • Both business and personal icloud acts on one device?

    I have a personal iCloud account that I use for business on my iPhone and the business Computer...Can I create an iCloud account for business and keep them separate or am I stuck with having everything personal (notes, calendars etc.) on the business