How to change backgroung color of Title bar using UIManager.put ?
HelloI want to change backgroung color of Title bar and border color of all frames and dialogs.can you please help me?I try using UIManager.put("InternalFrame.activeTitleBackground",Color.GRAY);but it is not working.Thanks in advance
They're rendered by native peers so you can't change them.I think to get round it you'd have to use undecorated Window objects instead, which would mean handling your own events via buttons in the title bar, resizing bars etc; and would also mean not having an item in the
Thanks for reply,
now I want to apply css in my application.
Is it possible for desktop application?
Someone told me that it is possible but I am not getting way to implement css.
For apply css i write code
String str=new String();
str=".plaintext {font-family:Verdana, Helvetica, sans-serif; color:#000000; font-size:11px; font-weight:normal;}";
UIManager.put("Button.css", str);
Can you help me for this problem?