File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes On call/ shift calender GUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "On call/ shift calender GUI" Watch "On call/ shift calender GUI" New topic
Author

On call/ shift calender GUI

Ciaran Mooney
Ranch Hand

Joined: Jan 21, 2013
Posts: 65

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

I love deadlines, I love the whooshing sound they make as they fly by...
Pawel Pawlowicz
Ranch Hand

Joined: Apr 18, 2013
Posts: 596
    
  11

Something like mentioned here?
http://stackoverflow.com/questions/7935255/how-do-i-make-a-calendar-in-a-standalone-java-gui
J. Kevin Robbins
Ranch Hand

Joined: Dec 16, 2010
Posts: 632
    
    7

DatePicker

Nevermind. I see now you mentioned a Swing app. I'm in the webdev mindset.


"There is no reason for any individual to have a computer in his home" ~ Ken Olson, Co-founder of DEC, 1977
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

Check out JCalendar I would enthusiastically recommend it.
GUI questions are best asked on the GUI forums. Moving...


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Ciaran Mooney
Ranch Hand

Joined: Jan 21, 2013
Posts: 65

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

Joined: Oct 04, 2013
Posts: 133
    
    5
Apparently I'm a masochist. I used the GregorianCalendar.


There are worse crimes than burning books. One of them is not reading them. Ray Bradbury
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

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

Joined: Jan 21, 2013
Posts: 65

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

Joined: Oct 04, 2013
Posts: 133
    
    5
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: On call/ shift calender GUI
 
Similar Threads
how to add calender to my android application
display the calender in jsp page
In android, onActivityResult method how can i know which button is clicked “Save” or “Cancel” button
Where is November?
Problem while using Calender Components