Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

who to make border image transparante?

Status
Not open for further replies.

haux

Programmer
Apr 11, 2001
79
DZ
who to make border image transparante?.

I don't know if it's the good place where to poste this question but, i havn't another idea.

I am using JBuilder4 pro, whan i associate an image to a menuitem it's border isn't transparante
and the menuitem is not beautiful to see.

can anybody tell me who to make the border of an image transparante, to use in menuitem?

Thanks for all.
 
I am assuming you are talking about a JMenuItem, otheriwse you wouldn't be able to stick an image onto it.

Can you use the setOpaque(false) method of the JComponent superclass to do this??

Failing that, you may want to manipulate the image in an image processing application that will allow you to set the background/border to transparent.

hope this helps!? Static Apnea - snorkelling in a swimming pool without the snorkel?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top