| Author |
how can we write memory resident program
|
mutyalarao aripaka
Greenhorn
Joined: Nov 09, 2006
Posts: 6
|
|
Hi, I am planning to develop an application like Post-It in java. So certainly it needs to be memory resident with no specific main window. how can we write such memory resident application using Java?
|
Regards<br />Mutyala Rao Aripaka<br />Bangalore, INDIA
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12266
|
|
If the operating system is Windows, this would be called a windows service. A google search for "java windows service" will find lots of activity. Bill
|
Java Resources at www.wbrogden.com
|
 |
mutyalarao aripaka
Greenhorn
Joined: Nov 09, 2006
Posts: 6
|
|
Thanks for the reply. But then as a windows service, will it show an icon in the system tray so that the user can see a context menu on a right click? [ March 11, 2007: Message edited by: mutyalarao aripaka ]
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16681
|
|
Originally posted by mutyalarao aripaka: Thanks for the reply. But then as a windows service, will it show an icon in the system tray so that the user can see a context menu on a right click?
The system tray has nothing to do with whether the java program is a windows service or not. It is implemented by your program, using the GUI toolkit. If you are using AWT/Swing, you will need to upgrade to Java 6. Or you can use SWT instead. Henry
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
mutyalarao aripaka
Greenhorn
Joined: Nov 09, 2006
Posts: 6
|
|
how about using JDIC (Java Desktop Intergration Components) which i caught in google @ https://jdic.dev.java.net/. In taht project they speak of a tool TrayIcon. Any idea about this?
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12907
|
|
JDIC will also allow you to make a tray icon. But you don't need it if you use Java 6 because in Java 6 it's a standard feature: New System Tray Functionality in Java SE 6. If you are not / cannot use Java 6 then there are a number of alternatives (including JDIC); search Google for "java system tray icon".
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
 |
|
|
subject: how can we write memory resident program
|
|
|