Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.lang.java.programmer > #4995
| From | Tom <tom400f@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: JDateChooser setEnabled Color |
| Date | 2011-06-05 21:39 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <isgt21$hum$1@speranza.aioe.org> (permalink) |
| References | <543b5b7c-b7f7-4445-91fb-8f65391a8c68@n11g2000yqf.googlegroups.com> <nospam-DF21D0.13292205062011@news.aioe.org> |
On Sun, 05 Jun 2011 13:29:22 -0400, John B. Matthews wrote: > As an aside, I was recently critical of the demo's layout: > > <http://groups.google.com/group/comp.lang.java.programmer/ msg/39c807ad8e131973> > > Line 132 in com.toedter.calendar.demo.JCalendarDemo is the problem: > > splitPane.setDividerLocation(190); > > Simply remove it to allow pack() to do the right thing. Ah - didn't realise it was only the demo program you were unhappy about... Anyway, the aforementioned additions were: - nullText property - if the JDC's date is null then display any null text, for example "Open Ended" - selectOnFocus property - optionally select the text when the editor gets the focus - dateVerifier property - an interface that JDC calls back on to allow client code to indicate whether a date is selectable; calendar buttons are disabled for invalid dates and the editors skip to the next valid date in the "direction of travel" - use action map to (ctrl-c) popup the calendar; (ctrl-n) set to null - provide access to the DateFormat inside so you can (eg) set its timezone I'm in the process of pulling together other people's mods and will github all this soon...
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
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