• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Basic Calendar

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch, Kevin Ng!
You should start a new thread over in the Swing / JFC / AWT forum for your question.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic