Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Images on Button
Images on Button [message #481721] Mon, 24 August 2009 05:54 Go to next message
jiamao liu is currently offline jiamao liuFriend
Messages: 9
Registered: July 2009
Junior Member
Dear all,

I have a problem of the images on button.
In the Eclipse RAP, when I run the RAP application, the images on the
buttons are displayed correctly.

But when I deploy the rap application on tomcat, the images on the button
do not display. What's the problem? (I use 'setBackgroupdImage' or
setImage, both are not work).

Could anybody explain this to me? Thanks
Re: Images on Button [message #481731 is a reply to message #481721] Mon, 24 August 2009 07:00 Go to previous messageGo to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Hi,

you might want to search the newsgroup for this kind of problem - this
has been discussed very often. A common error is that the resources
folder of your bundle is missing in your build.properties and therefore
the images are not put into your binaries.

Regards,
Stefan.

jiamao liu schrieb:
> Dear all,
>
> I have a problem of the images on button.
> In the Eclipse RAP, when I run the RAP application, the images on the
> buttons are displayed correctly.
>
> But when I deploy the rap application on tomcat, the images on the
> button do not display. What's the problem? (I use 'setBackgroupdImage'
> or setImage, both are not work).
>
> Could anybody explain this to me? Thanks
>
>
>
>
Re: Images on Button [message #481983 is a reply to message #481731] Tue, 25 August 2009 00:07 Go to previous messageGo to next message
jiamao liu is currently offline jiamao liuFriend
Messages: 9
Registered: July 2009
Junior Member
Thank you for your answer.
Actually, I have already check the images folder in the build.properties
file.

But I do not know why the images of the button still don't work
Re: Images on Button [message #482025 is a reply to message #481983] Tue, 25 August 2009 07:33 Go to previous message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Hi,

please post a snippet that illustrates what exactely you're doing.

Regards,
Stefan.

jiamao liu schrieb:
> Thank you for your answer.
> Actually, I have already check the images folder in the build.properties
> file.
>
> But I do not know why the images of the button still don't work
>
Previous Topic:Text type listener problem
Next Topic:Inconsistency in handling with Layout-Errors
Goto Forum:
  


Current Time: Thu Apr 25 05:43:46 GMT 2024

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

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

Back to the top