Re: [Microba-controls] Request help about DatePicker.Thanks a lot!
Brought to you by:
michaelbaranov
From: Michael B. <mic...@gm...> - 2006-04-13 06:58:29
|
Hello! This is rather not a bug, but a side effect of a feature: the colors are taken automatically from current L&F. I'm afraid you must interfere with the sources to change that... Go to: com.michaelbaranov.microba.calendar.ui.basic.CalendarHeader and find the line private Color backgroundColorActive = UIManager.getColor("activeCaption"); By providing another L&F color constant, or a Color instance you may achieve what you desire. But be aware, that if you change the constant, the component may appear "strange" in other L&Fs. BTW, I see you are using some Asian language? Can you contribute the translation, please? And one more: try JGoodies plastic/xp L&Fs! They are excellent! Regards, Michael Baranov. > hi, > I really appreciate that you provide a such wonderful libs(DatePicker) > to public,but however,when I set my swing app's LookAndFeel to > "com.sun.java.swing.plaf.windows.WindowsLookAndFeel",the background > color of week head panel on the dateChooser control is too dark(too > close with the color of weekdays' text). > please see the attached gif file. > Could you please tell me how to change the background color of the > week head panel? > > Thanks a lot! > > _________________________________________________________________ > 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com > ------------------------------------------------------------------------ > |