How can i change the background color of a visible JDesktopPane
- From: balla.peter@xxxxxxxxx
- Date: Sat, 12 Jan 2008 12:17:32 -0800 (PST)
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."
.
- Follow-Ups:
- Re: How can i change the background color of a visible JDesktopPane
- From: Knute Johnson
- Re: How can i change the background color of a visible JDesktopPane
- From: Alexander . V . Kasatkin
- Re: How can i change the background color of a visible JDesktopPane
- Prev by Date: Re: test
- Next by Date: Re: How can i change the background color of a visible JDesktopPane
- Previous by thread: TableCellRenderer woes
- Next by thread: Re: How can i change the background color of a visible JDesktopPane
- Index(es):