Skip to main content


3 replies [Last post]

I have googled and searched Sun's website regarding Transparency and I've come up dry. Is there anyway to make a JFrame or JMenuItem Transparent? Thanks, Jeremy

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-11

hava a look at NativeSkin

(works only for Windows, though)

Joined: 2003-06-10

There are ways to make UI objects "seem" transaparent, but they all currently involve using Robot. This might be fixed in JDK 1.5. See

Joined: 2003-06-10

I believe there is in OS X. Someone posted some code for doing this as a comment to one of the blogs on I can't recall which one, but there's not too many. As for non OS X, I doubt there is a cross-platform way. Since Apple did translucent menus for their Aqua look and feel, it's certainly possible, but it probably involves native code and modifying an existing look and feel.