how to open an external file (PDF or .HLP)on button click

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

how to open an external file (PDF or .HLP)on button click

Postby dinu4u4ever » Thu Nov 02, 2006 10:39 pm

i added a help button in a dialog box... on clicking the button how can i open an external .HLP file or a PDF?????pls help me....
thx in advance
dinu4u4ever
 
Posts: 3
Joined: Thu Nov 02, 2006 10:25 pm

Re: how to open an external file (PDF or .HLP)on button clic

Postby Eric Clayberg » Sat Nov 04, 2006 10:00 am

dinu4u4ever wrote:i added a help button in a dialog box... on clicking the button how can i open an external .HLP file or a PDF?

That would depend entirely on what Java library you are using to access your help or PDF files (several are available).

If you are looking for code that does this, try Googling "Java PDF Library" or "Java Help Library".

Note that this forum is for questions about SWT Designer. General Java or Eclipse questions should be directed to the appropriate Java or Eclipse newsgroup.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest