Questions tagged [jdatechooser]

JDateChooser is a sub-component of JCalendar, a Java date chooser bean for selecting a date.

JDateChooser is a bean composed of an IDateEditor (for direct date editing) and a button for opening a JCalendar for selecting the date. Source: JCalendar.

194 questions
-1
votes
1 answer

How to compare an entry in the top row of a JTable to a matching value?

I am trying to create an application where the user inputs a time and date into a JTable and then receives an alert at that time. The way in which I have planned it is that the entries are displayed in chronological order with the nearest on the top…
-1
votes
1 answer

Increment in date choosen from JDateChooser

I am stuck in a programming issue. I am am making Java Application in Eclipse attached with SQlite. I want such state where user choose a date from JDateChooser and date of after two days from the specified one in JDateChooser show into next field.…
Maha Waqar
  • 585
  • 1
  • 10
  • 24
-1
votes
1 answer

Using jDateChooser in SQL query

I'm working on a little exercise, using ORACLE HR database and Netbeans, and I want to calculate difference between two jDateChooser values using a search button, here is a screenshot of my jFrame which explains everything, including my output error…
hehexd123
  • 3
  • 1
  • 5
-1
votes
1 answer

JDateChooser set number of displayed Entrys in Month Combobox

Well i must admit i am a little ashamed that i can not find a solution for my newest problem because it sounds so basic and simple. In JDateChooser there is a JCombobox which enables the user to select a month. obviously it has 12 entrys. This…
Mr.H.
  • 965
  • 1
  • 10
  • 18
-1
votes
1 answer

2 jDateChooser how to disable the date of other jDatechooser

I have 2 jdatechooser, 1 is for check in and 1 is for checkout. How can I disable the date of my jdatechooser checkout if my jdatechooser check in is selected the date today and the checkout will disable the date yesterday or I set the checkin date…
kazz
  • 1
  • 6
-1
votes
1 answer

Stire JDateChooser date in a the database

I want to store jDateChooser date in a database, where I have a column of sql date type. This the code I use: try{ String f_name = qq.getText(); String l_name= jTextField2.getText(); String add1 =jTextField4.getText(); …
-1
votes
1 answer

How can I set Dateformat dd/MM/yyyy using jDATECHOOSER

I´m trying to get/set following Date Format into the Database(MySQL) dd/MM/yyyy. In the DB, the column "Geburt" is set as DATE and is already known that the standard format from MySQL is yyyy/MM/dd. Added to it, I´m using jDateChooser for selecting,…
Bruno Kommers
  • 19
  • 1
  • 9
-1
votes
1 answer

get the current age from jdatechooser in java

I want to calculate my age from date chooser and when i press the button my current age will appear.. how can I do that? I can do this through this code: Calendar cal = new GregorianCalendar(1999, 1, 1); //I WANT THIS AGE TO BE INPUT FROM…
-1
votes
1 answer

dateChooser getting value to search between dates

How can i get value from 2 JDateChooser formatted yyyy-MM-d and put it in sql query (String sql="select .... from ... between date1 and date2") which should search data between those dates and outputted in a JTable. I used code but no output…
DeadLuck
  • 59
  • 1
  • 1
  • 10
-1
votes
1 answer

how can i call the strings from a arraylist individually?

I'm making a program that will generate the dates between two dates. The dates are from a DateChooser. When I click a button the dates between the two dates is generated like this : date1 Jun 5, 2013 date2 June 20, 2013 Using this code …
Maguzu
  • 433
  • 3
  • 7
  • 14
-2
votes
2 answers

Count days between dates stored in mysql database and current date with netbeans java

I need to calculate the difference between 2 dates in days..which first date should be the current date and the next one is already has stroed in Mysql database .. Mysql date format of the stored date is yyyy-MM-dd And I just took the stored date…
Mna_ofcl
  • 3
  • 2
-2
votes
1 answer

JDateChooser make action when you select date automatically only one time

the thing is that i'm using in Customize Code the next code: DachBuscar.getDateEditor().addPropertyChangeListener(new java.beans.PropertyChangeListener(){ public void propertyChange(java.beans.PropertyChangeEvent evt){ …
-2
votes
1 answer

Working with JDateChooser and JTextField

I need a help. I am doing a reservation system and my doubt is: I have 2 JDateChoosers and JTextFields and one JDateChooser is for the start and one is for the end. For example the user selects a date from the start JDateChooser and after he entered…
Mano0114
  • 9
  • 7
-2
votes
1 answer

unable to add JDateChooser component to JFrame

i am trying to use JDateChooser in my JFrame.(code not Beans IDE).How do i make an istance of JDateChooser class and add it to JFrame. import com.toedter.calendar.JDateChooser; import com.toedter.calendar.JDateChooserBeanInfo; import…
Navi Aulakh
  • 1
  • 1
  • 3
1 2 3
12
13