javajquerycalendaroutlookjfxtras

JavaFX outlook like calendar


Now I know that this question has been asked already, but the solution there didn't help me much

As the title suggests, I am looking for a way to implement an Outlook like calendar into my JavaFX application.

I already tried out fullcalendar, but I didn't manage to start the jQueries, which are needed. I tried a lot of methods, but they either aren't working or I'm too dumb to implement it correctly

I also tried jfxtras agenda, I really like the controls and the look of it, unfortunately I'm a rather inexperienced programmer and therefore I'm not really capable of saving these entries

So, if someone could show me an easy - to - implement calendar or a guide to either fullcalendar or jfxtras agenda, I would be very grateful Thanks in advance

EDIT: Here are the links, 1) Fullcalendar How to add JQuery onto JavaFx WebView

2) Similar question: Outlook like calendar control in JavaFX 2.0+


Solution

  • Well, JFXtras has a samples in which you can add appointments to Agenda. You can download it from the jfxtras.org website and play with it.

    The source code ain't that complex (all you need to do is implement an add appointment callback, see line 44.), but you will need to code yourself. Agenda only does the displaying of the appointments, it is your responsibility to store and retrieve them from your domain model. https://github.com/JFXtras/jfxtras-labs-samples/blob/8.0/src/main/java/jfxtras/samples/controls/agenda/AgendaSample1.java

    Basically what you need to do is: