Putting Java app in Windows tray as an icon?

Is this possible? IS thre a "free" library or API, presumably using JNI, to turn a java app into a windows tray icon so that it isn't in the task bar, only in the tray icon (or both), and when clicked on can open it up as well as provide a context menu?
Thanks.

This question is asked a lot.
Type a few keywords in the search panel and you are lucky.
Note: this works with google too, I found a solution just by asking google for it.
Maybe this is helpful though:
http://www.amherst.edu/~tliron/jni/DesktopIndicator/DesktopIndicator.html

Similar Messages

  • Oracle on Solaris and JAVA app on Windows clients

    hi im currently developing a JAVA app that accesses the data from an Oracle databse, these apps all running on windows clients. Im wondering the best way to access the database? is the JDBC the only way to do this.. thanks in advance

    Yes, you can download a JDBC driver from Oracle. I think this site might do it:
    http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
    I'm assuming that you're using the JDBC-ODBC bridge driver now to get into Access. You'll just have to change the name of the JDBC driver class and the database URL to connect to Oracle.
    Once you have it, you'll have to make sure you put it in the right place for your app. If it's a Web-based app, it'll depend on the container you're running.
    - MOD

  • How to make a shortcut to run my Java app in Windows?

    Hiya, Coders :-)
    I am an absolute beginner.
    I have copied a little window program from "Java 2 in easy steps".
    I run it from the command line and a little window pops up.
    I cannot find a way to start the app without the command prompt.
    How can I make a shortcut to start it?
    Julian (-_-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hiya, Coders ;-)
    As it happens, I have a game from UJ Software: "Shisen for Java".
    It has a shortcut, of course.
    Here are all its details just in case it helps ...
    The game folder is here:
    C:\Program Files\UJ Software\Shisen for Java\jShisen.jar
    Contents of the installed shortcut ...
    General:
    Type of file: Shortcut
    Opens with: Java(TM) Platform SE binary
    Location: C:\Documents and Settings\Julian Bury\Start Menu\Games
    Shortcut:
    Target Type: Executable Jar File
    Target location: Shisen for Java
    Target: "C:\Program Files\UJ Software\Shisen for Java\jShisen.jar"
    Start in: "C:\Program Files\UJ Software\Shisen for Java\"
    Run: Normal window
    I don't suppose this will help.
    It strikes me that nobody knows for certain how to run a java app!
    I have two beginner's books, neither of which mentions anything beyond the command prompt.
    Tricks to minimize the console window are just not professional!
    The solution must be written authoritatively somewhere ...
    has anyone seen it, please?
    Increasingly disturbed ...
    Julian *(-_-)*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Form become white after running java app. under windows XP

    Hi,
    i developed an application (Form base application) that connect to FTP server and connect to a server via telnet.
    The application is running fine until i'm trying to run it under Windows XP.
    when i'm running the applicaion under windows XP and sending data, the form become WHITE (looks like stuck program).
    the app. is still running but the user think the app. is stuck.
    i try to INVALIDATE the form every time the loop is sending the data and many more ideas but it is still become white.
    the app. is working greate under windows 2000, 98, ME.
    does anyone know this problem and how to fix it?
    Thanks Guy.

    i "just" develope an application that connected to an exsiting servers and upload data to them.
    the problem is that when i run this app. under windows XP, the screen ( the application created in "Form Base") become white, like the program is stuck.
    there is no error, it's seems to be an invalidate problem, but i try to out invalidate everywhere but it is still doen't fix this problem.
    the app. doesnot stuck, it is just looks like that!!!!!
    the weird thing is when i run this app. under all other windows, it's working fine.
    if anything is not clear, write back.
    thanks.

  • Installing java app in windows

    So I've created an application, packaged it in a jar and created a folder that contains the jar, the batch file to run it, a lib folder with all the library files, and a users guide. My original plan to deploy it was to just copy the folder from the network drive on to the clients PC but now I'm being asked to create an installer so that all the end user will have to do is double click that and the installer does the rest. It has to extract the files, add it to the start menu, the add/remove programs screen, etc... Does anyone know how do go about doing this?
    Any help would be greatly appreciated

    Look at Java Webstart. Forget about all the unpacking/registering/start menu stuff because Java makes a point of not being OS-dependant. With Webstart, you can run apps either from a desktop link, from an application manager, or from an html link or browser bookmark.

  • Launch Java App from Windows Desktop

    What's the best way to launch a Java application from a Windows XP desktop without the console showing?

    If your class Main.class is part of a package, you cannot invoke Main directly without providing the package. You may have to include the -classpath option (depending of the working directory). The default value for -classpath is "."
    You should try:
    javaw myPackage.Main
    (if the working directory is parent to directory 'myPackage')
    or
    javaw -classpath .;c:\xxx\xxx\. myPackage.Main
    "c:\xxx\xxx\" is your root package's parent directory. Note that you may have to double quote the specified path.
    For details:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html

  • Java App Marked As EXEC with Running ICON changed to EXEC Icon

    Hello,
    I upgraded my Mid 2010 Macbook Pro 13 to Maverricks a few days ago.   It deleted my Java which my Zimbra Dektop (ZD) 7 requires.  So I had to reinstall Jave 1.7 from Oracle site.   After I did this I reinstalled ZD and it runs fine except for icon.   After runing for awhile the ZD Icon on the Dock and the Program Switcher changes to the standard UNIX Executable EXEC Icon.  I have tried to lock down the icon on the dependent files but no luck.  Any idea how what to modify so the icon does not change?
    TIA,
    EB

    Repair permissions and restart your computer.  Read the Help menu for instructions if you do not know how. 
    You & wify should be backing up if the photos are so important. 
    Mac Basics: Time Machine 
    User Tip:  Most commonly used backup methods
    Emergency backups you didn't know you had!

  • How to run a jar app on windows start up

    what classes can i use in java..
    to run a java app when windows xp starts up and even to shut windows down...
    what name are these classes under in the java libary..if there is any..

    LeeHarvey wrote:
    so i have to learn C# and C every thing.. to do any thing out side java...what about visual basic...Lee, VB6 ended support 4 years ago. Do you want to be a programmer or a burger flipper?
    You could go with VB.NET except it is succinctly, SH1T! Even the poeple who wrote hate it so much they'd tell you to use C# instead. [reference required] Seriously, it's got none of the advantages of VB6, and all of the disadvantages. I think it was designed to fail.
    C# is just like Java, except different ;-)
    Actually Java and C# are match racing... That is the longer they are developed the more alike they become... ergo they're suffering the wind-tunnel effect... they're copying each others weaknesses. This is a car. This is a lunch box.
    Java is still winning, which works for me, for now... when Java stops winning I'll swap boats quick as look at ya.
    Cheers. Keith.

  • Java apps lock up on Windows 7 64 bit

    3rd party Java apps and apps I've developed all seemed to be very buggy on one of my 64 bit windows 7 machines with JRE 1.6. I can run them in an XP VM on the same computer with no problems. Some apps lock up immediately and others it's just a matter of time before they lock up. I've searched and searched but haven't seen this issue anywhere else and don't have this problem on my 64 bit Windows 7 machine at home. Does anyone have any idea what might cause this? I'm at a loss and since it's my work PC with the problem I have to test Java apps in the XP VM which is a pain.
    Edited by: ddevil63 on Jul 26, 2010 9:57 AM

    3rd party Java apps and apps I've developed all seemed to be very buggy on one of my 64 bit windows 7 machines with JRE 1.6. I can run them in an XP VM on the same computer with no problems. Some apps lock up immediately and others it's just a matter of time before they lock up. I've searched and searched but haven't seen this issue anywhere else and don't have this problem on my 64 bit Windows 7 machine at home. Does anyone have any idea what might cause this? I'm at a loss and since it's my work PC with the problem I have to test Java apps in the XP VM which is a pain.
    Edited by: ddevil63 on Jul 26, 2010 9:57 AM

  • Run Java App as a Windows Service

    Hi,
    Is there an easy way (without 3rd party software) to run a Java app as a service in windows?
    Sorry if this isn't the right forum to post to...
    Any help would be greatly appreciated!
    Thanks in advance!

    Nope there isn't. And there also isn't a reason not to use 3rd party software as there is an excellent open source API to do this job: Java Service Wrapper.

  • Built Bonjour-dependent Java app on Mac, copied to Windows, can't find Bonjour

    On my Mac, I wrote a Java app that uses Bonjour.  It works just fine.
    Then I decided to test it on Windows.  So I installed Java SE and then the Bonjour for Windows package on Windows XP.  When I try to run my program (double-clicking the jar file), nothing happens.  When I do it from the command line, it complains about being unable to find Bonjour:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/apple/dnssd/BrowseListener
    I assumed that Bonjour for Windows would automatically register itself so that Java could find it.  Is that incorrect? 
    What is the correct portable way to make Bonjour available to apps on Windows?
    Thanks!

    The sad part is that the guide you link to contains a link to the installation instructions right at the top. That should have been a big hint.
    To prevent future wrong assumptions, refer to the roadmap:
    http://www.oracle.com/technetwork/java/javafx/overview/roadmap-1446331.html

  • Java & Windows Tray

    How to create this feature:
    Java GUI Program rool into M$Windows tray icon then minimize ?

    tada http://jeans.studentenweb.org/java/trayicon/trayicon.html

  • Oracle Java Apps Window - Maximize by default possible?

    Hi All,
    As in subject, is it possible to have Oracle Java Apps window maximize by default when launched?
    Kind regards

    PawelBertel wrote:
    Hello,
    Apologies, I'm talking about Oracle EBS 12.1.2 - main oracle apps window.
    Kind regards
    This is something that can be fixed from the browser.
    http://support.microsoft.com/kb/555217
    http://answers.microsoft.com/en-us/ie/forum/ie8-windows_vista/how-do-i-make-the-default-window-size-open-to/a6261690-88e9-47ab-befb-f2cef12f2601
    Thanks,
    Hussein

  • Windows Macro Engine for use with Java Apps

    Does anyone know of a macro engine that can be used under windows for interaction with a Java app? None of the ones I've tried will work with Java Apps. Work great with everything else I've tried, just not Java apps.
    Will

    What exactly is a macro engine? What do you want it to do? Do you want to add scripting to your application? Or do you want to script third party applications, that don't support it themselves?

  • Registering a Java App to run with Windows NT

    I couldn't find a solution to this in searching, perhaps because it's something obvious I'm just missing.
    I've created a Java app which monitors ASP pages every hour to see whether or not the engine is running. That works fine. I want NT to launch this application every time the server boots, but am clueless as to how to do that. It's easy enough for me to reference the app in a .bat file, but I still don't know how to get that to launch, let alone have NT simply run the main method.
    In this instance, I'm using IIS. Is there something that it uses to launch a Java app automatically?
    Thanks in advance.

    I would try just inserting the call in the
    autoexec.bat file a la:
    javaw myApp
    Mark (aka Ekmel)Except, o Evil Adobe, NT doesn't use an Autoexec.Bat.
    I tried popping it into the Startup folder, but it
    doesn't seem to do anything. Thanks, though.My autoexec.bat file is in the startup folder and it
    seems to be setting the path and classpath
    correctly. I'm going to refund your Duke unless/until I'm
    able to help you out.
    Mark

Maybe you are looking for

  • Can not see Characteristics fields in the output option of VC

    Hello, Any body know why is the characteristic fields of a BW query shows only in the input parameter and not shown in the output option when we model BW query in VC? Regards, Maureen

  • Macbook butchers hard drives-New hard drive where to buy and how to install

    Hey. I have one of the last generation Macbooks and my hard drive died on me again. this the second hard drive and I only have the device for 1 year and 10 months. Last time it fell under warranty but that has expired by now. So I am left with follow

  • Can I do SPAM and JSPM in the same time ?

    e.g,  in a  dual ABAP + JAVA stack system, I start SPAM to apply support package for ABAP, To saving time, meanwhile, I want start JSPM operation. is it possible ? or I must wait the SPAM 100% finished,  then I can start JSPM then ? thanks so much...

  • Problem in creating PO in BTE PM_000030

    Hello experts, I'm having a problem calling Bapi's in the PM_000030 BTE: When I am creating a work order, I need to create a PO on a PR, and then close the PR. I'm doing it in the BTE cause I need the Work Order Number (track number of the PO). To do

  • Error when editing form --using an event receiver

    Hi, I created an event receiver sandbox solution and deployed it to preprod.  My code doesn't work and everytime I edit an item it gives me this error. I don't receive an error when I create an item. Server encountered an internal error. For more inf