Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » org.elcipse.swt.internal.image.PNGFileFormat not visible
org.elcipse.swt.internal.image.PNGFileFormat not visible [message #451915] Thu, 10 March 2005 22:00 Go to next message
Bill is currently offline BillFriend
Messages: 8
Registered: July 2009
Junior Member
When i tried to import org.eclipse.swt.internal.image.PNGFileFormat, I got
an error message saying that the type is not visible. But the class file
IS in the swt.jar file. Why? I am using WSDD, the app will run on
Foundation on top of iPAQ.
Thanks for you help.

Bill
Re: org.elcipse.swt.internal.image.PNGFileFormat not visible [message #451938 is a reply to message #451915] Fri, 11 March 2005 15:01 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Bill,

The class has default visibility, so it's not meant to be used outside of
swt (it's also in a *.internal.* package). For working with graphics, you
should just make use of the classes, such as Image, that are in the
org.eclipse.swt.graphics package.

Grant

"Bill" <bill@digicharm.com> wrote in message
news:d0qg1f$siu$1@www.eclipse.org...
> When i tried to import org.eclipse.swt.internal.image.PNGFileFormat, I got
> an error message saying that the type is not visible. But the class file
> IS in the swt.jar file. Why? I am using WSDD, the app will run on
> Foundation on top of iPAQ.
> Thanks for you help.
>
> Bill
>
Previous Topic:JUnit for SWT
Next Topic:Tree SWT.FULL_SELECTION not selecting whole line
Goto Forum:
  


Current Time: Tue Sep 24 07:55:47 GMT 2024

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

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

Back to the top