Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #5049

Re: JDateChooser setEnabled Color

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: JDateChooser setEnabled Color
Date 2011-06-06 19:27 -0700
Organization Canadian Mind Products
Message-ID <5v2ru6p9dshq4mgmmlgqoi2dgkgn5oqgdc@4ax.com> (permalink)
References <543b5b7c-b7f7-4445-91fb-8f65391a8c68@n11g2000yqf.googlegroups.com>

Show all headers | View raw


On Sun, 5 Jun 2011 00:52:01 -0700 (PDT), Biagio <software@notario.it>
wrote, quoted or indirectly quoted someone who said :

>Hi,
>
>I'm using the powerfull JDateChooser JCalendar library 1.3.3.
>
>Unfortunately, when the component is setEnabled (false) the color of
>date is a gray almost unreadable.
>
>I tried to change color, but when the component is disabled is not
>possibile, it is always gray.
>
>I would like to get a look like JTextField.setEditable (false).
>
>Does anyone have any suggestions?

I wrote a DateChooser.  If it is defective, I will fix it as top
priority.  If you want something eccentric, you have the complete
source code.

See http://mindprod.com/products1.html#SPINNER
The class you want is called DateSpinner.

You can see it in use at http://mindprod.com/applet/canadiantax.html
or http://mindprod.com/applet/bio.html


-- 
Roedy Green Canadian Mind Products
http://mindprod.com
How long did it take after the car was invented before owners understood 
cars would not work unless you regularly changed the oil and the tires?
We have gone 33 years and still it is rare to uncover a user who 
understands computers don't work without regular backups.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

JDateChooser setEnabled Color Biagio <software@notario.it> - 2011-06-05 00:52 -0700
  Re: JDateChooser setEnabled Color "John B. Matthews" <nospam@nospam.invalid> - 2011-06-05 13:29 -0400
    Re: JDateChooser setEnabled Color Tom <tom400f@gmail.com> - 2011-06-05 21:39 +0000
      Re: JDateChooser setEnabled Color "John B. Matthews" <nospam@nospam.invalid> - 2011-06-06 00:02 -0400
        Re: JDateChooser setEnabled Color Tom <tom400f@gmail.com> - 2011-06-06 19:53 +0000
    Re: JDateChooser setEnabled Color Biagio <software@notario.it> - 2011-06-06 02:15 -0700
  Re: JDateChooser setEnabled Color Roedy Green <see_website@mindprod.com.invalid> - 2011-06-06 19:27 -0700

csiph-web