Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Why I see a red square instead of my image??
Why I see a red square instead of my image?? [message #436816] Tue, 25 May 2004 07:58 Go to next message
Eclipse UserFriend
Originally posted by: purjo76.luukku.com

HI!

I have a small problem: IŽm having a table that has a checkbox on the
first column. I have created a label provider, and in itŽs method
'getColumnImage' I print out the image of the wanted column, and get this
kind of result:

Image for column 0: Image {-1224408216}
Image for column 1: null
Image for column 2: null

So it seems that the image for the first column is found ok. But still, in
my table I only see a small red square, not the checkbox image that I
would like to have! WhatŽs the problem??

Thanks already!
Re: Why I see a red square instead of my image?? [message #436900 is a reply to message #436816] Wed, 26 May 2004 01:10 Go to previous messageGo to next message
daniel is currently offline danielFriend
Messages: 17
Registered: July 2009
Junior Member
Purjo wrote:

> HI!

> I have a small problem: IŽm having a table that has a checkbox on the
> first column. I have created a label provider, and in itŽs method
> 'getColumnImage' I print out the image of the wanted column, and get this
> kind of result:

> Image for column 0: Image {-1224408216}
> Image for column 1: null
> Image for column 2: null

> So it seems that the image for the first column is found ok. But still, in
> my table I only see a small red square, not the checkbox image that I
> would like to have! WhatŽs the problem??

> Thanks already!

The image loading failed.
Re: Why I see a red square instead of my image?? [message #436905 is a reply to message #436900] Wed, 26 May 2004 06:30 Go to previous message
Eclipse UserFriend
Originally posted by: purjo76.luukku.com

Can you say why? If the image that IŽm asking for is not found from the
image registry, null should be returned. So it seems that this image is
found OK, but why it is not shown then?

daniel wrote:

> Purjo wrote:

> > HI!

> > I have a small problem: IŽm having a table that has a checkbox on the
> > first column. I have created a label provider, and in itŽs method
> > 'getColumnImage' I print out the image of the wanted column, and get this
> > kind of result:

> > Image for column 0: Image {-1224408216}
> > Image for column 1: null
> > Image for column 2: null

> > So it seems that the image for the first column is found ok. But still, in
> > my table I only see a small red square, not the checkbox image that I
> > would like to have! WhatŽs the problem??

> > Thanks already!

> The image loading failed.
Previous Topic:To make login window as plugin,pls reply
Next Topic:implementing CVS file comparison
Goto Forum:
  


Current Time: Fri Apr 26 14:43:41 GMT 2024

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

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

Back to the top