Hello.

I have an undecorated JFrame (Which is rather boring by itself), and I would like to know how to get a drop shadow effect for it. I have researched it, but I haven't found anything, anyone have any ideas?

Thanks in advance!!!

Recommended Answers

All 3 Replies

Put a second identical JFrame directly underneath it, fill with black, make it 50% translucent, shift it 10 pixels down & right.
See http://www.pushing-pixels.org/?p=260 for details on translucent windows.

is there any way to get the second frame to not be displayed on the TaskBar?

I don't know- it's not something I've played with myself. I'll be interested to hear how you get on...
JC

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.