Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to run a SWT / JFace application  RSS feed

 
Richard Butterwood
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can someone point me a web-site that will show me how to deploy a SWT application. I have the screen running fine in Eclipse, but I am unsure of how to build it and run it from a Windows icon.

Do I have create a have to create .ear to include my application jar and swt.jar and jface.jar?
 
John Wetherbie
Rancher
Posts: 1449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article from IBM that talks about using Web Start popped up using Google. Also found this thread that mentions SWT deployment by searching this forum. Hope they help you out.
 
Richard Butterwood
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply. I too found that article. I believe it is just concerned with keeping the client side in sync with the latest code.

What I need is basic instructions on how to run it outside of Eclipse. I know I need to export it to a jar file, but I am unsure on how to reference swt.jar and jface.jar.

Any help would be greatly appreciated
 
Stephen Strenn
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following DevX article may be of interest to those developing desktop Java applications for the Windows platform:

How to Create a Windows Installer for an SWT Application
How to Create a Windows Installer for an SWT Application

Thanks,
Stephen Strenn
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!