• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

how can we write memory resident program

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
mutyalarao aripaka
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
author
Posts: 23928
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
mutyalarao aripaka
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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".
 
His brain is the size of a cherry pit! About the size of this ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic