Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Loading jpgs into a table?
Loading jpgs into a table? [message #445355] Wed, 03 November 2004 19:05 Go to next message
Eclipse UserFriend
Does anyone know of any examples of how to load jpg files into a table
and then how to determine which are selected by a user?
Re: Loading jpgs into a table? [message #447705 is a reply to message #445355] Thu, 16 December 2004 08:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ssc.acentic.net

Hows this :

tableItem.setImage(0,new Image(display, "app.gif"));


-Sebastian


"MP" <dev1@levelgroundmedia.com> schrieb im Newsbeitrag
news:cmbrdn$gnb$1@eclipse.org...
> Does anyone know of any examples of how to load jpg files into a table and
> then how to determine which are selected by a user?
Re: Loading jpgs into a table? [message #447718 is a reply to message #447705] Thu, 16 December 2004 10:43 Go to previous messageGo to next message
Eclipse UserFriend
Great if you want to leak the image.

"Sebastian Scholz" <ssc@acentic.net> wrote in message
news:cps0ta$sds$1@www.eclipse.org...
> Hows this :
>
> tableItem.setImage(0,new Image(display, "app.gif"));
>
>
> -Sebastian
>
>
> "MP" <dev1@levelgroundmedia.com> schrieb im Newsbeitrag
> news:cmbrdn$gnb$1@eclipse.org...
> > Does anyone know of any examples of how to load jpg files into a table
and
> > then how to determine which are selected by a user?
>
>
Re: Loading jpgs into a table? [message #447858 is a reply to message #447718] Mon, 20 December 2004 02:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ssc.acentic.net

What is the problem ?

Steve Northover wrote:

> Great if you want to leak the image.

> "Sebastian Scholz" <ssc@acentic.net> wrote in message
> news:cps0ta$sds$1@www.eclipse.org...
>> Hows this :
>>
>> tableItem.setImage(0,new Image(display, "app.gif"));
>>
>>
>> -Sebastian
>>
>>
>> "MP" <dev1@levelgroundmedia.com> schrieb im Newsbeitrag
>> news:cmbrdn$gnb$1@eclipse.org...
>> > Does anyone know of any examples of how to load jpg files into a table
> and
>> > then how to determine which are selected by a user?
>>
>>
Re: Loading jpgs into a table? [message #447868 is a reply to message #447858] Mon, 20 December 2004 12:00 Go to previous message
Eclipse UserFriend
You need to call Image.dispose() on every image that you created or you will
leak. Code that does "new Image(...)" and doesn't save the result is highly
suspicious.

"Sebastian Scholz" <ssc@acentic.net> wrote in message
news:cq5uvk$i3j$1@www.eclipse.org...
>
> What is the problem ?
>
> Steve Northover wrote:
>
> > Great if you want to leak the image.
>
> > "Sebastian Scholz" <ssc@acentic.net> wrote in message
> > news:cps0ta$sds$1@www.eclipse.org...
> >> Hows this :
> >>
> >> tableItem.setImage(0,new Image(display, "app.gif"));
> >>
> >>
> >> -Sebastian
> >>
> >>
> >> "MP" <dev1@levelgroundmedia.com> schrieb im Newsbeitrag
> >> news:cmbrdn$gnb$1@eclipse.org...
> >> > Does anyone know of any examples of how to load jpg files into a
table
> > and
> >> > then how to determine which are selected by a user?
> >>
> >>
>
>
Previous Topic:Why the drop method never been called?
Next Topic:resize event only called once????
Goto Forum:
  


Current Time: Mon Jul 07 21:38:01 EDT 2025

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

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

Back to the top