aspose file tools
The moose likes Swing / AWT / SWT and the fly likes How to run a SWT / JFace application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "How to run a SWT / JFace application" Watch "How to run a SWT / JFace application" New topic
Author

How to run a SWT / JFace application

Richard Butterwood
Ranch Hand

Joined: Nov 07, 2005
Posts: 45
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

Joined: Apr 05, 2000
Posts: 1441
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.


The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Richard Butterwood
Ranch Hand

Joined: Nov 07, 2005
Posts: 45
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

Joined: Feb 27, 2005
Posts: 2
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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to run a SWT / JFace application
 
Similar Threads
Deploy SWT in linux environment
How to create a standalone SWT app ?
Using swt in applet
SWT on any other IDE?
Which Design Pattern to use for SWT based applications