File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes Trayicon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Trayicon" Watch "Trayicon" New topic
Author

Trayicon

Stephen O'Connor
Greenhorn

Joined: Oct 19, 2010
Posts: 11
hi everybody,

I am trying to create a basic trayicon that launches from my webapp. I going to use swt, jws and jnlp. I hope that this is right?

I have started with this basic tutorial http://www.ibm.com/developerworks/opensource/tutorials/os-eclipse-jws/os-eclipse-jws-pdf.pdf

everything works fine until I get to the final stage of "export the wrapper feature" after exporting I go to my features folder (as instructed in the tutorial) the features folder has the jar files but not the simple jnlp files. I have following the instructions exactly and exported the wrapper several times but still I get the same result.

my question is has anybody tried this tutorial and is it a good one to start learning about jws/jnlp and of course has anybody any idea what I am doing wrong with the export???.

this is what I am using
windows xp
eclipse 3.3
xammp localhost
Stephen O'Connor
Greenhorn

Joined: Oct 19, 2010
Posts: 11
hey,

WHOOPEE!! got swt working with jnlp, using these instructions

http://www.eclipse.org/swt/jws/

and I used the HelloWorld1 basic code from

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet135.java?view=markup&content-type=text%2Fvnd.viewcvs-markup&revision=HEAD

RESULT a blank swt window thats launched from my browser.

Now, I wonder how easy is it attach some code to this Helloworld1 application for it to minimise into "systray" or is this a waste of time?

any advice would be greatly appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trayicon
 
Similar Threads
Eclipse Installation Problems
Eclipse+installationproblem
SOS send SMS
JOGL Webstart
Signing JNLP - Where does JNLP-INF directory go?