• 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
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

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 ]
 
brevity is the soul of wit - shakepeare. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic