Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » CLabel problem
CLabel problem [message #74412] Mon, 18 February 2008 21:55 Go to next message
Eclipse UserFriend
Originally posted by: allen_liu.i-len.com

Hi everyone:
I have a question about CLabel setting backgroud.
I worte these codes in RAP:
CLabel clabel=new CLabel(parent,SWT.SHADOW_NONE);
clabel.setLayoutData(new GridData(50,60));
Image image=Graphics.getImage("logon.png",this.getClass().getClassLoader());
clabel.setBackground(back_image);
clabel.setText("example");

the text was shown normaly.I use setImage method that was shown images
nomaly.But the picture wasn't shown when I used setBackgroud method.RAP has
provided this method.
it doesn't work...is it a bug?

best regards

Thanks

Allen_liu 2008-02-19
Re: CLabel problem [message #74558 is a reply to message #74412] Tue, 19 February 2008 02:22 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

seems to me a bug to. Would you please file a new bug entry?

Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: allen_liu [mailto:allen_liu@i-len.com]
Bereitgestellt: Dienstag, 19. Februar 2008 03:56
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: CLabel problem
Betreff: CLabel problem


Hi everyone:
I have a question about CLabel setting backgroud.
I worte these codes in RAP:
CLabel clabel=new CLabel(parent,SWT.SHADOW_NONE);
clabel.setLayoutData(new GridData(50,60));
Image
image=Graphics.getImage("logon.png",this.getClass().getClassLoader());

clabel.setBackground(back_image);
clabel.setText("example");

the text was shown normaly.I use setImage method that was shown images
nomaly.But the picture wasn't shown when I used setBackgroud method.RAP
has provided this method.
it doesn't work...is it a bug?

best regards

Thanks

Allen_liu 2008-02-19
Previous Topic:How to unregister Listeners?
Next Topic:TreeEditor Problem
Goto Forum:
  


Current Time: Sun Aug 31 01:13:57 EDT 2025

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

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

Back to the top