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
0
votes
1 answer

Java Unsupported Locale (JCalendar)

I'm developing a desktop application with Swing for an unsupported language. I have my own properties file. I'm using it for the messages in the application. I also call setLocale() method of the JCalendar with my file. But since I don't know which…
Null Pointer
  • 344
  • 1
  • 2
  • 11
0
votes
1 answer

Jdatechooser content

im trying to get de date from a a jdatechooser, then convert it to a string, but when I try to do this this.fechaTxt.setText(""); it doesnot let me String fecha1 = this.fechaTxt.getDate().toString(); Viaje viaje = new Viaje(); …
Jhondoe
  • 3
  • 2
0
votes
1 answer

highlight jtable row fro past due date reminder

This is employee data information. I have the contact starting date and expiration date, so I want to know how I can highlight a row in the jtable if there is a contact that will expire in one month or less. Thank you
hisham
  • 1
0
votes
1 answer

How to install Jcalender in Eclipse?

I'm looking for the procedure to install Jcalender in Eclipse Mars. I have just started to use Swing and I am facing problem to take date input as it needed Jcalender to be installed on to Eclipse. By looking at some tutorials I have added Jcalender…
Deepraj Kanulkar
  • 110
  • 1
  • 1
  • 7
0
votes
0 answers

Java Swing com.toedter.calendar.JCalendar multiple day selection

How can I use com.toedter.calendar.JCalendar to have user select multiple dates and get the dates as a result? Is this even possible using JCalendar?
Kevin
  • 183
  • 2
  • 11
0
votes
0 answers

Issue in JDateChooser in jcalendar-1.2.2

Can I have empty date in datechooser with jcalendar-1.2.2? I can not use datechooser.setCalendar(null), as suggested here, because the setCalendar() method is not available in jcalendar-1.2.2.
MRavindran
  • 447
  • 2
  • 10
  • 24
0
votes
0 answers

Clearing the date in datechooser

I am using date chooser from jcalendar-1.2.2 jar. How to clear the date in date field of datechooser? package com.multiasset.manualorderentry.gui.components; import java.awt.FlowLayout; import java.text.ParseException; import…
MRavindran
  • 447
  • 2
  • 10
  • 24
0
votes
1 answer

Formatter in JdateChooser

I am using JDateChooser from jcalendar-1.2.2 jar. I have set dateformatString as "yyyyMMdd".By default it is showing today's date September 1, 2010. whenever I try to change the date it is displayed correctly in yyyyMMdd format. How to set default…
MRavindran
  • 447
  • 2
  • 10
  • 24
0
votes
2 answers

How can i hide or close popupmenu JDateChooser?

I use JDateChooser and some combobox in one frame. When i open popupcalendar in JDateChooser and do mouse click outside, this popupmenu close. Problem: When i open this calendar and then click to any combobox, calendar popupmenu does not close. Why…
Maksim Zagorodsky
  • 320
  • 1
  • 2
  • 15
0
votes
2 answers

Java DatePicker popup calendar

I have downloaded Microba DatePicker and JDatePicker. Can I make it always stay popped up from the start (without actioning the button, and even after choosing the date to remain popped up). What I actually want is getting just the calendar itself,…
MPavel
  • 11
0
votes
1 answer

I'm getting DateTimeParseException when trying to get date from jcalendar

I need to calculate age in years,months, days and seconds, I'm using jcalendar to get the users input but I keep getting DateTimeParseException error, can someone please tell me how I can solve this. JDateChooser dateChooser = new…
Sami
  • 3
  • 1
  • 3
0
votes
1 answer

adding JDatepicker in Jframe

I want to develop a Swing desktop application with jlabel, JDateChooser and a submit button. I am using below code : public class Homeg { public static void main(String args[]) { JFrame frame=new JFrame("date display"); …
barun kumar
  • 11
  • 1
  • 1
0
votes
1 answer

JCalendar click day to open a new JFrame

I want to make JCalendar days clickable so that when clicked they open up a new JFrame with certain input fields that can be saved and edited. I am new to use of Netbeans and programming of this sort in general.
DannyK
  • 47
  • 8
0
votes
0 answers

How to validate JDateChooser in swing application?

I'm trying to validate JDateChooser in my swing application. How can I validate my date column before submitting my details to the database.(It has to check whether the date column is filled or not).
0
votes
3 answers

Disable past dates and 2 weeks from now in JCalendar

I want to disable past dates and 2 weeks from now from a JCalendar. I already have this code: jDateChooser1.getJCalendar().setMinSelectableDate(new Date()); ((JTextFieldDateEditor)jDateChooser1.getDateEditor()).setEditable(false); I already can…
user3331023
  • 100
  • 1
  • 2
  • 10