Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [nebula-dev] Problem with CalendarCombo and setDate()

Emil Crumhorn wrote:
> Ok, the bug has been fixed. Turns out calling setFocus() on a
> combo will actually reset the text entry to the previous
> entry, so I had to save it prior to that call and set it back
> on the combo after that call. There's a lot of workarounds
> for various OS-strangeness in the CalendarCombo already, so this
> isn't exactly "new". 
> 
> In any case, I committed the changes to CVS, nightly build
> should pick it up, otherwise just check it out and apply to your
> current code. 
> 
> Let me know if you run into anything else,

Thanks for the fast solution. 

I wasn't able to check it out earlier, also the nightly build seems to be
broken? But I managed to create a jar myswlf from CVS. It works pretty good
but there seems to be one error left.

After changing the date manually in the combobox and clicking in the
combobox-field it opens the calendar box correctly. But if I click
repeatedly into the combobox field to open and close the window, it changes
the date back to the date originally set. 

Probably there is another reset somewhere...

Greetings Bjoern




Back to the top