Menu

#3 Botton Month chooser can be counter intuitive

open
nobody
None
5
2005-02-01
2005-02-01
No

IF you have selected 31st of January in the calendar
and then from the Month drop down you choose Februrary
the calendar seems to shift straight to March. This is
because the code tries to set the date to be the 31st
of Februrary which doesn't exist.
I belive it should try and set the date to be the 28th
of Februray instead.
The offending code is in MButtonChanger in the
mouseReleased() method.
If your code was in the CVS repository of sourceforge I
could have submitted a patch.

Discussion

  • Martin Newstead

    Martin Newstead - 2005-02-01

    Logged In: YES
    user_id=454523

    Please send me the change that you have made to fix this

     
  • Nikolay Metchev

    Nikolay Metchev - 2005-02-01

    Logged In: YES
    user_id=637710

    here is the changed file

     
  • Nikolay Metchev

    Nikolay Metchev - 2005-02-01

    Logged In: YES
    user_id=637710

    sorry here it is

     
  • Nikolay Metchev

    Nikolay Metchev - 2005-02-01

    here is the changed file (again)

     

Log in to post a comment.