Hi so I'm trying to use your appointment and reccurence example in netbeans but I get this error: Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessError: superclass access check failed: class com.mindfusion.scheduling.standardforms.DateComboBox$MotifDateComboBoxUI (in module JPlanner) cannot access class com.sun.java.swing.plaf.motif.MotifComboBoxUI (in module java.desktop) because module java.desktop does not export com.sun.java.swing.plaf.motif to module JPlanner. I have added JAR JPlanner. Can you please help me? The JPlanner is in the libs folder where my netbeans project exist. When I paste this code to mine project "showForm(e.getItem());" that's when I get error
Thanks for pointing the problem out. We have compiled a new version of the JPlanner.jar, which uses a different JComboBox. Here is the download link: mindfusion.eu/_temp/JPlanner_jdk17.zip
The calendar control is a Java Swing library. Here is a tutorial on how to integrate the MindFusion diagram, which is also Swift library with SWT: www.mindfusion.eu/faq/jdiagram-swt.html You can follow the same algorithm with the calendar. There is a tutorial from Eclipse about that as well: www.eclipse.org/articles/article.php?file=Article-Swing-SWT-Integration/index.html We plan to make a tutorial wit the calendar about this and we will post the link when it's ready.
You should use daySettings to mark and customize the current day: www.mindfusion.eu/onlinehelp/jplanner/index.htm?M_com_mindfusion_scheduling_WeekRangeSettings_getDaySettings_0.htm The sample in this video uses WeekRangeView and the code is: calendar.getWeekRangeSettings().getDaySettings().setShowToday(true); calendar.getWeekRangeSettings().getDaySettings().setTodayColor(Color.BLUE); calendar.getWeekRangeSettings().getDaySettings().setTodayFillColor(Color.GREEN);
@@Rafael-ol1ie Merry Christmas! 🎄 We have modified the sample to use the light theme and added code to mark today, it works well. In the light theme only the cell header is colored. If you want to color the whole cell you can use a DateStyle www.mindfusion.eu/onlinehelp/jplanner/index.htm?T_com_mindfusion_scheduling_DateStyle_Members.htm . Each DateStyle is applied on the dates specified with each setFrom and setTo methods and is added to the calendar's collection of styles. There is a third approach, which uses custom drawing. You handle the draw event www.mindfusion.eu/onlinehelp/jplanner/index.htm?M_com_mindfusion_scheduling_CalendarAdapter_draw_1_DrawEvent.htm and there you can draw any element of the calendar. The CustomDrawElements sample of the trial version demonstrates custom drawing on various calendar elements and different views. Here is the modified sample that shows the 3 ways to mark the present day using the Light theme and the WeekRangeView: mindfusion.eu/_temp/ScheduleFormsToday.zip
Yes, it can. We have a sample called ScheduleDB included in the samples with the trial version, which you can download from mindfusion.eu/java-scheduler.html The sample includes SQL script to create a DB to serialize any schedule and code for serializing a schedule in MySQL.
Ok thank you Lovely video btw I want to create a scheduling program for my final project .Can you give me some tips. Also would I get the same results if I did it in Netbeans?
The Appointment form has a Reminder field - you can see it at 9:27 in this video. Programmatically, reminders are instances of the Reminder class ( www.mindfusion.eu/onlinehelp/jplanner/index.htm?T_com_mindfusion_scheduling_model_Reminder_Members.htm ) You can set reminders to Item, Appointment or Task with the setReminder method ( www.mindfusion.eu/onlinehelp/jplanner/index.htm?M_com_mindfusion_scheduling_model_Task_setReminder_1_Reminder.htm ) If you want to know when a Reminder was triggered, you can handle the taskReminderTriggered event ( www.mindfusion.eu/onlinehelp/jplanner/index.htm?M_com_mindfusion_scheduling_model_ScheduleAdapter_taskReminderTriggered_1_TaskEvent.htm )
when designing the frame (the part where we add events ) i got an error:Error: Unable to initialize main class MainWindow Caused by: java.lang.NoClassDefFoundError: com/mindfusion/scheduling/Calendar the frame couldn't appear ,what can be the issue?
@@ridaabbas8338 It is hard to tell what the problem is, it depends on your project configuration and settings. The common reason for NoClassDefFoundError is that the Calendar class is not available in the Classpath, but why it is not, could be a lot of things like: the class is not in Java Classpath; you are running the program with the jar command and the class is not defined in the manifest ClassPath attribute; mismatch in the java compiler version and more. Sometimes cleaning and project and rebuild helps. You can try downloading the scheduler from maven: search.maven.org/search?q=mindfusion or send the whole project to our support team using the forum mindfusion.eu/Forum/YaBB.pl?board=scheduling_swing or email support@mindfusion.eu If you tell us what your IDE is we will show you a screenshot to check.
Hi so I'm trying to use your appointment and reccurence example in netbeans but I get this error: Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessError: superclass access check failed: class com.mindfusion.scheduling.standardforms.DateComboBox$MotifDateComboBoxUI (in module JPlanner) cannot access class com.sun.java.swing.plaf.motif.MotifComboBoxUI (in module java.desktop) because module java.desktop does not export com.sun.java.swing.plaf.motif to module JPlanner.
I have added JAR JPlanner. Can you please help me?
The JPlanner is in the libs folder where my netbeans project exist.
When I paste this code to mine project "showForm(e.getItem());" that's when I get error
Thanks for pointing the problem out. We have compiled a new version of the JPlanner.jar, which uses a different JComboBox. Here is the download link: mindfusion.eu/_temp/JPlanner_jdk17.zip
hi i'm using swt to implement this..how do i add the calendar object to my swt shell? please help
The calendar control is a Java Swing library. Here is a tutorial on how to integrate the MindFusion diagram, which is also Swift library with SWT: www.mindfusion.eu/faq/jdiagram-swt.html You can follow the same algorithm with the calendar. There is a tutorial from Eclipse about that as well: www.eclipse.org/articles/article.php?file=Article-Swing-SWT-Integration/index.html We plan to make a tutorial wit the calendar about this and we will post the link when it's ready.
Here is a video tutorial how you use the Calendar library with SWT: ruclips.net/video/7ql59WpHW7w/видео.html
this calendar and java swing desktop IDE netbens, i need one for a hospital.
Sure, the IDE is irrelevant. The sample uses Eclipse, but you can open the project with NetBeans.
@@MindfusionEu Could you provide the source code link here?
@@javazantech Sure: mindfusion.eu/samples/java/scheduler/ScheduleForms.zip
@@MindfusionEu thanks
How can I highlight the current day in this calendar?
You should use daySettings to mark and customize the current day: www.mindfusion.eu/onlinehelp/jplanner/index.htm?M_com_mindfusion_scheduling_WeekRangeSettings_getDaySettings_0.htm
The sample in this video uses WeekRangeView and the code is:
calendar.getWeekRangeSettings().getDaySettings().setShowToday(true);
calendar.getWeekRangeSettings().getDaySettings().setTodayColor(Color.BLUE);
calendar.getWeekRangeSettings().getDaySettings().setTodayFillColor(Color.GREEN);
@@MindfusionEu yes, but if i use the Light theme of this calendar the today date isn't shown
@@Rafael-ol1ie Merry Christmas! 🎄
We have modified the sample to use the light theme and added code to mark today, it works well. In the light theme only the cell header is colored. If you want to color the whole cell you can use a DateStyle www.mindfusion.eu/onlinehelp/jplanner/index.htm?T_com_mindfusion_scheduling_DateStyle_Members.htm . Each DateStyle is applied on the dates specified with each setFrom and setTo methods and is added to the calendar's collection of styles. There is a third approach, which uses custom drawing. You handle the draw event www.mindfusion.eu/onlinehelp/jplanner/index.htm?M_com_mindfusion_scheduling_CalendarAdapter_draw_1_DrawEvent.htm and there you can draw any element of the calendar. The CustomDrawElements sample of the trial version demonstrates custom drawing on various calendar elements and different views. Here is the modified sample that shows the 3 ways to mark the present day using the Light theme and the WeekRangeView:
mindfusion.eu/_temp/ScheduleFormsToday.zip
@@MindfusionEu Thanks!
Can this be linked to a database?
Yes, it can. We have a sample called ScheduleDB included in the samples with the trial version, which you can download from mindfusion.eu/java-scheduler.html The sample includes SQL script to create a DB to serialize any schedule and code for serializing a schedule in MySQL.
Ok thank you
Lovely video btw
I want to create a scheduling program for my final project .Can you give me some tips.
Also would I get the same results if I did it in Netbeans?
@@britneyramdeen8436 Yes, the result is independent from the IDE that you use.
how to add reminders?
The Appointment form has a Reminder field - you can see it at 9:27 in this video. Programmatically, reminders are instances of the Reminder class ( www.mindfusion.eu/onlinehelp/jplanner/index.htm?T_com_mindfusion_scheduling_model_Reminder_Members.htm ) You can set reminders to Item, Appointment or Task with the setReminder method (
www.mindfusion.eu/onlinehelp/jplanner/index.htm?M_com_mindfusion_scheduling_model_Task_setReminder_1_Reminder.htm ) If you want to know when a Reminder was triggered, you can handle the taskReminderTriggered event (
www.mindfusion.eu/onlinehelp/jplanner/index.htm?M_com_mindfusion_scheduling_model_ScheduleAdapter_taskReminderTriggered_1_TaskEvent.htm )
when designing the frame (the part where we add events ) i got an error:Error: Unable to initialize main class MainWindow
Caused by: java.lang.NoClassDefFoundError: com/mindfusion/scheduling/Calendar
the frame couldn't appear ,what can be the issue?
@@ridaabbas8338 Have you included the JPlanner.jar as a library in the classpath of the project?
@@MindfusionEu yes, but yet i am getting this error
@@ridaabbas8338 It is hard to tell what the problem is, it depends on your project configuration and settings. The common reason for NoClassDefFoundError is that the Calendar class is not available in the Classpath, but why it is not, could be a lot of things like: the class is not in Java Classpath; you are running the program with the jar command and the class is not defined in the manifest ClassPath attribute; mismatch in the java compiler version and more. Sometimes cleaning and project and rebuild helps.
You can try downloading the scheduler from maven: search.maven.org/search?q=mindfusion or send the whole project to our support team using the forum mindfusion.eu/Forum/YaBB.pl?board=scheduling_swing or email support@mindfusion.eu
If you tell us what your IDE is we will show you a screenshot to check.