Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trayicon

 
Stephen O'Connor
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic