app background color

4 views
Skip to first unread message

scr...@gmail.com

unread,
Sep 28, 2009, 8:51:01 AM9/28/09
to jmatter
Hi Eitan,

I would like to know how to change the background color of the
aplication. My clients require a diferent color scale for the app im
developing.
I've been searching in the jmatter inner code and i couldn't find it.
There are so much color assignments everywhere. I've just only put a
logo in the main frame.
I'd like to change: Login screen color (background and login box), the
background color of the main frame and the color of the selected item
in the class bar.

Would you please help me with that if you don't mind?

Thank you.

Leonard.

Eitan Suez

unread,
Sep 28, 2009, 6:41:43 PM9/28/09
to jma...@googlegroups.com
you can do that with css.
you should be able to set the background color (or a background
image if i recall) separately for the logged out state and logged in state.

see the ContactMgr demo-app's resources/styles.css

 52 JDesktopPane
 53 {
 54   background-color: gradient(0,0,white,800,0,#C4D5DE);
 55 }
 56 JDesktopPane.loggedout
 57 {
 58   background-image: resource("images/jmatter.png") centered;
 59 }

/ eitan

scr...@gmail.com

unread,
Sep 29, 2009, 10:33:39 AM9/29/09
to jmatter
Thank you Eitan,

How about the (highlight) color of the selected item in the class
bar?

Leonard!
> > Leonard.- Hide quoted text -
>
> - Show quoted text -

Eitan Suez

unread,
Sep 30, 2009, 10:47:28 PM9/30/09
to jma...@googlegroups.com
i don't think i expose that as a css property.
but the underlying look and feel probably can easily
be customized with a system property.

/ eitan
Reply all
Reply to author
Forward
0 new messages