Menambahkan komponen JCalendar - Java - Publisher - Royz Rambo
Ilham Penta
Site menu
Section categories
My articles [6]
Java [14]
Java Programming
Flash [6]
Flash
URL web dan Tutorial [29]
Petualangan [1]
Our poll
Rate my site
Total of answers: 19
Statistics

Total online: 2
Guests: 2
Users: 0
Login form
Main » Articles » Java

Menambahkan komponen JCalendar
import java.util.Calendar;

import java.util.Date;



Date tglPasangan = txtTglPasangan.getDate();

Date tglAnda = txtTglAnda.getDate();

System.out.println(tglAnda);

System.out.println(tglPasangan);


tgl2 = tglPasangan.getDate();

bln2 = tglPasangan.getMonth() + 1;

thn2 = tglPasangan.getYear() + 1900;


tgl1 = tglAnda.getDate();

bln1 = tglAnda.getMonth() + 1;

thn1 = tglAnda.getYear() + 1900;


Category: Java | Added by: penta (2010-09-28)
Views: 522 | Tags: JDateChooser, JCalendar | Rating: 0.0/0
Total comments: 0
Name *:
Email *:
Code *:
Search
Site friends
  • Create a free website
  • Copyright Penta.Inc © Powered By: Senjapala