Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Beans > Re: How To Mak...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 1354 of 1403
Post > Topic >>

Re: How To Make an JDateChooser as Uneditable

by "Steve W. Jackson" <stevewjackson@[EMAIL PROTECTED] > Jun 5, 2008 at 10:55 AM

In article <4848016b$0$14361$e4fe514c@[EMAIL PROTECTED]
>,
 Roland de Ruiter <roland.de.ruiter@[EMAIL PROTECTED]
> wrote:

> On 5-6-2008 13:46, sha**** dhara wrote:
> > hi i used JDatechooser for date selection in my application ..but i
> > should make this JDateChooser as Uneditable..but i don't know
> > this ......please any one help me.......
> 
> Which JDateChooser are you using (it's not part of the standard Java 
> 6.0- libraries).
> 
> If the JDateChooser class is a subclass of JComponent, you could try
>      yourJDateChooser.setEnabled(false);

I use JDateChooser from the JCalendar library, and it's a subclass of 
JPanel.  It also has its own setEnabled(boolean) method, which I assume 
will do what the OP needs.

= Steve =
-- 
Steve W. Jackson
Montgomery, Alabama
 




 3 Posts in Topic:
How To Make an JDateChooser as Uneditable
shashi dhara <dms004@[  2008-06-05 04:46:07 
Re: How To Make an JDateChooser as Uneditable
Roland de Ruiter <rola  2008-06-05 17:08:26 
Re: How To Make an JDateChooser as Uneditable
"Steve W. Jackson&qu  2008-06-05 10:55:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 0:00:59 CST 2008.