Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Program.findProgram("pdf"); does not find a PDF program
Program.findProgram("pdf"); does not find a PDF program [message #461362] Wed, 21 September 2005 13:15
Moritz Post is currently offline Moritz PostFriend
Messages: 28
Registered: July 2009
Junior Member
Hi there

This is basically a follow up mail to the same problem. sg21486.html

I want to get the icon used for pdf documents. When i call for the program
via Program.findProgram("pdf"); i get null.

Though when i retrive all extensions the pdf extension is listed as well.
same goes for listing all available programs. it also finds an "Adobe
Acrobat 7.0 Document" program. The same problem occurs for files of type
html. Although html ist listed in the "all extensions" list and when
getting the full program list as a "FirefoxHTML" program.

Other file types like mp3, doc or txt get found without a problem.

I am on WinXP SP2, jdk1.5.0_05
I get this behaivour on eclipse 3.1 as well as on 3.2M1

any help would be greatly appretiated.

regards Moritz Post
Previous Topic:Limit on HTMLTransfer?
Next Topic:IBM JDK required for -compilelibs?
Goto Forum:

Current Time: Sun Sep 22 10:01:40 GMT 2019

Powered by FUDForum. Page generated in 0.02021 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top