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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Calander

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
hi
im trying to create a calander which will popup from a combobox whenever i
click the combobox, then the selected date from the popup calander will appear on the combobox itself(which would be editable, so users can change the date manually without using the popup).

I downloaded such a calander from http://www.toedter.com
the only problem is that that calander doesnt popup from a combobox, its just a normal calander. i tried to add that calander into a JcomboBox myself with no success.

anyone knows how can it be done?
my way of thought was to set the calander panel as the JComboBox's editor, but that didnt work, according to what i read thats because when a combobox is editable, its editor is also its renderer, so what happened is that the calander panel showed up all the time, and not only when i click the JComboBox.
does anyone hava an other idea on how can it be done?

if not,does anyone know such a calander which is downloadable with its sourcecode?

help would be appriciated
[ July 26, 2004: Message edited by: Tal Tal ]
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Do not cross post.
 
    Bookmark Topic Watch Topic
  • New Topic