Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jcalendar  RSS feed

 
john novak
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I am not a native speaker so sorry form my spelling and grammar.

I am working on a school project with Jcalendar from Toeder. I am using it as gui for picking dates. Single frame with panel- Jcalendar and one textField to store the date . This date will be sent to oracle database... I have to store somehow the date of the cell that is picked. I suppose it has to be done with PropertyChangeEvent like:



I looked at some examples but i didnt find a solution how to implement this event.

Can i get a information where does this code goes?

Thank you All!

 
Campbell Ritchie
Sheriff
Posts: 55329
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I have added code tags; always use them and look how much better it looks
Doesn't it tell you how to use the date picker on the Tödter website?
 
john novak
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I searched on that site to but i didnt find any example how to add propertChange events to a code. I placed a calendar in GUI from pallete. Do i have to extend the Jcslendar class? Thank you
 
Campbell Ritchie
Sheriff
Posts: 55329
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know. The API documentation doesn't say whether changing the selected date fires a property change event.
 
Campbell Ritchie
Sheriff
Posts: 55329
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you know that the JCalendar you are using on NetBeans is the same bean as Tödter's?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!