Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
on Jul 29, 2008 6:55 PM by 843851
Jpg in HTextButton
Nov 29, 2007 11:22 AM
I'm traying to show a jpg image inside a HTextButton but I can't.
I've created an array with HTextButton and for every of them I've done this:
Image imgs = new Image;
imgs[i] = new ImageIcon( i + ".jpg").getImage();
[j] = new HTextButton();
so far, everything is ok I can watch all the buttons, however, when I write this line in an actionPerformed method:
I can't see the jpg picture in the button.
Could somebody help me, please?
This content has been marked as final.
Show 1 reply
Re: Jpg in HTextButton
Jul 29, 2008 6:55 PM
in response to
I think the problem is it's not really possible show a image in a HTextButton.
Try use the HGraphicButton