Questions tagged [jcalendar]

JCalendar is a Java Swing date chooser bean for selecting a date.

JCalendar is a Java Swing date chooser bean for graphically selecting a date. It adheres to the JavaBeans component model. The project's home page is here. Several enhancements and bug fixes have been collected here.

143 questions
1
vote
2 answers

how to set Calendar from JSpinner result value?

I am trying to make Calendar month&year picker. How can I set calendar from two jspinner? jspinner 1 = month value jspinner 2 = year value maybe it just to get int value from jspinner.. how to do it? Here's my code: (update) import…
Jason Amavisca
  • 187
  • 3
  • 5
  • 13
1
vote
1 answer

How to show only date after the date of today in JCalendar

i'm trying to limit user to select only the date after today, or select date after another Date I see on JCalendar API something that could help me but i didn't find nothing.. how can i do it?
Jayyrus
  • 12,961
  • 41
  • 132
  • 214
0
votes
1 answer

Using Two JCalender for SWT Application

http://i41.tinypic.com/344bo77.png From Day Cannot be Today's Date or Later. To Date cannot be maximum than today's date & From Date. I have to set the code in such a way that after selecting a particular date on From date, To date will be…
special
  • 621
  • 3
  • 11
  • 20
0
votes
1 answer

Joomla JHTML::calendar input validation

I'm using the calendar as a custom field in chronoforms, I can edit the code and did that to make it required, but how can I validate the input? This is the code I added:
Mankind1023
  • 7,198
  • 16
  • 56
  • 86
0
votes
0 answers

JCalendar-component on Netbeans 18 not working on MacOS, but working on PC

In Netbeans on my Mac, the JCalendar-component on the palette shows an empty icon with a question mark. error-png I followed these steps to install it: Manage Pallete > Add From Jar > Select JCalendar > Select Category > Finish Following the same…
0
votes
0 answers

JAVA - Form Loaded With Errors - How can I import and open a project that uses JCalendar.1.4? (NetBeans)

I get the following error message when I try to use a form in this project. The project uses the library JCalendar.1.4. I already downloaded the library and I did this to add it I clicked on: Tools Palette - Swing/AWT Components I created a New…
Vane V
  • 1
  • 1
0
votes
0 answers

Imported jar files (Swing Data Binding JXDatePicker Support ,jcalendar) not working. --> imported palletes look broken [Gradle Build] Netbeans IDE

Please help me with this issue. I need a date picker for my project so I'd tried to import Jcalendar but after import the jar file.It's seems to be broken in pallete manager. Please look into the screenshots below, pls look into the screenshot those…
0
votes
0 answers

Java Jcalendar(JdayChooser) how to refresh \ update highlights

This is my code, i have a combobox where choose user by chosen user query select dates from database and return dates this dates are highlights in jcalendar Connect1(); if(txtdoc.getSelectedItem()==null){ } else { SimpleDateFormat…
0
votes
0 answers

provide wrong classpath for netbeans

I am building a small software which requires the JDateChooser component. In the images below, I added the classpath for jcalendar.jar to "Environment Variables" and I also created a new library and added jcalendar.jar to it as shown in the…
Kenny
  • 63
  • 1
  • 1
  • 6
0
votes
1 answer

Jdatachooser does not place the date correctly

I am making a simple form, I have installed the jcalendar library to be able to place a calendar, however, when placing the date it places the wrong month, I will attach an image to show the result. enter image description here Search for ways to…
0
votes
1 answer

Cannot add JDateChooser to IntelliJ IDEA palette

I want to add the JDateChooser component from jcalendar to the designer palette in intellij-idea; but when I'm adding com.toedter:jcalendar:1.4 through Maven dependency or JAR, I'm getting an error: class "com.toedter.calendar.Jdatechooser" cannot…
Vatsal Dholakiya
  • 545
  • 4
  • 19
0
votes
0 answers

How to enable JCalendar buttons after using the addDateEvaluator() method in NetBens?

My problem is this. I have a JCalendar in which I disable the days I want through this method. private void jButtonActionPerformed(java.awt.event.ActionEvent evt) { List invalidDays =…
Guilerme
  • 1
  • 1
0
votes
0 answers

I want to insert texts into multiple textfields with a list

I'm trying to make a schedule. To bring the list of data from the server, I use this: public List getListaCon(Date datacon, Date horacon, Date horacon1){ em.getTransaction().begin(); Query query = em.createQuery("SELECT c from Consulta c where…
0
votes
0 answers

how to validate user input date with system current date in java while using datechooser in an issue class

package librarymanagementsystem; import java.awt.*; import javax.swing.*; import javax.swing.border.*; import com.toedter.calendar.JDateChooser; import java.awt.event.*; import java.sql.*; import java.util.Date; import java.time.LocalDate; public…
Anjali
  • 1
0
votes
1 answer

No suitable constructor found for JDateChooser(string,string,char)

i'm new to java and i tried fixing some code a friend was having trouble with, but i faced an error that kinda confused me the error i got was: no suitable constructor found for JDateChooser(String,String,char) constructor…