PLAF question regarding JDesktopPane

Hi everyone, i am making a customized UI for a project I have. Thing is, I want to have a styled JDesktopPane. So I extend BasicDesktopPaneUI and override the paint method.

However, it looks like what I paint gets paintedover the default display. For example, if I want a rounded rectangle to be the shape of my pane, I get to see what's below in the corners or so...

Any help greatly appreciated :)

cheers

paolino

[455 byte] By [linskya] at [2007-11-27 4:46:13]
# 1
http://forum.java.sun.com/thread.jspa?threadID=5173559&tstart=25 please take a look at my post, and see if you might be able to help me..
Nibura at 2007-7-12 9:58:44 > top of Java-index,Desktop,Core GUI APIs...