How can i change the background color of a visible JDesktopPane



I tried this things but nothing happened ->

getDesktopPane().setBackground(color);

list = Tool.findComponent(getDesktopPane(), JPanel.class);

for (int i = 0; i < list.size(); i++)
list.get(i).setBackground(color);

getMainFrame().getContentPane().setBackground(color);

peter

--

"No trees were destroyed in the sending of this message. However,
a large number of electrons were terribly inconvenienced."
.