Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

On call/ shift calender GUI

 
Ciaran Mooney
Ranch Hand
Posts: 74
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am planning to write a swing/sql programme for a
on-call /shift rota in my workplace. Basically individuals will be sequentially assigned to dates on a Calender, and stats such as hours on call, weekend etc will be recorded in a mySQL DB.
So my question is does anyone no if there is a Calender widget/GUI in available in java for this purpose?
Thanks in advance
 
Paweł Baczyński
Bartender
Posts: 1816
33
Firefox Browser IntelliJ IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Something like mentioned here?
http://stackoverflow.com/questions/7935255/how-do-i-make-a-calendar-in-a-standalone-java-gui
 
J. Kevin Robbins
Bartender
Pie
Posts: 1801
28
Chrome Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DatePicker

Nevermind. I see now you mentioned a Swing app. I'm in the webdev mindset.
 
Maneesh Godbole
Saloon Keeper
Posts: 11090
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out JCalendar I would enthusiastically recommend it.
GUI questions are best asked on the GUI forums. Moving...
 
Ciaran Mooney
Ranch Hand
Posts: 74
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great thanks all. I've heard of the JCalender on various posts so i will take a look.
Thanks again
 
Robert D. Smith
Ranch Hand
Posts: 212
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apparently I'm a masochist. I used the GregorianCalendar.
 
Maneesh Godbole
Saloon Keeper
Posts: 11090
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Robert D. Smith wrote:Apparently I'm a masochist. I used the GregorianCalendar.

I don't know if you meant this as a joke (probably did) but in case you didn't GregorianCalendar is not a UI component
 
Ciaran Mooney
Ranch Hand
Posts: 74
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Possibly a stupid question, but i haven't used beans before. Ive imported the jar flles into a library in netbeans and added the calendar components to the bean palette
of the GUI form, but how do i add functionality to it? As in the individual days of the month appear to be JButtons but i cant access the conponments individually ie to add a name fro the rota.
The forum is currently down.
Cheers
Ciaran
 
Robert D. Smith
Ranch Hand
Posts: 212
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maneesh Godbole wrote:
Robert D. Smith wrote:Apparently I'm a masochist. I used the GregorianCalendar.

I don't know if you meant this as a joke (probably did) but in case you didn't GregorianCalendar is not a UI component
It was a joke, but I also missed the need for the GUI components by the OP. Thanks for pointing that out.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic