• Post Reply Bookmark Topic Watch Topic
  • New Topic

mouse click event on JDatechooser  RSS feed

 
Sunil Honrao
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
on my form i have added a jdatechooser
I want to restrict the user means user cant be able to select date which is greater
than sysdate..
and i want to perform this task when user selects the date by clicking the mouse on jdatechooser
but it is not happening means i cant perform any events on jdatechooser

Thanks for any help
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sunil, and welcome to the Ranch! There is no JDK class named jdatechooser ( or even JDateChooser) so you'll need to first tell us whether this is something you wrote yourself, or where you found it.

Does the API of the class allow you to set a maximum date?
 
Campbell Ritchie
Marshal
Posts: 56223
171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like the app which Kai Tödter made publicly available.
 
Campbell Ritchie
Marshal
Posts: 56223
171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately Tödter's documentation links do not work. Have you got the source code that you can reconstruct the documentation from?
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Sounds like the app which Kai Tödter made publicly available.

Or it could be this.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!