This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Basic Calendar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Basic Calendar" Watch "Basic Calendar" New topic
Author

Basic Calendar

Paula Vasseur
Greenhorn

Joined: Feb 16, 2003
Posts: 5
Hey does anyone know of a good calendar servlet or jsp, I need to be able to click on each date, it register this date and then take me to a corresponding link. It also needs to be able to go up and down in months.
Have been looking but most of the calendars are for inputting data and events, i just want a basic one that I can click on.
Thanks for your help
Paula xxx
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Try this - it's a swing app, so I'm not sure if it's what you're after, but there might be something in it for you.
Kevin Ng
Greenhorn

Joined: Aug 31, 2003
Posts: 23
Hi, does anyone help me in solving this problem regarding Calendar? The below codes are runnable and function one the problem is when i put the code in my program the displayed Month got problem.
My program main page has few buttons and each of them represent a module where user click on 1 of the button a particular JFrame will appear. So my idea is when i click on the button on main page a JFrame Calendar will appear. Actually in first time the calendar function so well but the second, third and following click on the button, the Month will automatically jump/increase into 1 month without clicking on the next button...
I hope you all can solve my problem and i am very appriciate with your helping hand. THANK YOU SO MUCH!
(You all can try on develop a mainpage with a button where user click on it and call this Calendar)
[ edited to format code and to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ August 31, 2003: Message edited by: Dirk Schreckmann ]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Kevin Ng!
You should start a new thread over in the Swing / JFC / AWT forum for your question.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Not sure if this is your problem, but months are 0-based.
So, if you want September - you have to use 8, January - 0, December - 11 etc
Kevin Ng
Greenhorn

Joined: Aug 31, 2003
Posts: 23
First of all thank you all of you who replied to me. Actually i had solved my problem after that. The problem is just removes all the static for every declarations. Only type private Jbutton not private static JButton.
[ September 01, 2003: Message edited by: Kevin Ng ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Basic Calendar
 
Similar Threads
first java project
Java Swing Date Picker
Java Date Picker
How to send data from one window to another
Calender - Time & Date