I am building a calendar in LWUIT, and I can´t find a way to solve the next problem.
When I add开发者_Python百科 my calendar to the form, it shows a month ComboBox
, a year ComboBox
and the days of the actual month with some days of the previous month and some days of the following month.
I don´t want to show the days of the previous month nor the days of the following month.
Can I set some UIID to them, to make them not visible?
Thanks.
A UIID can't make a component invisible. We have a visible attribute (setVisible(boolean)
), however an invisible component will still occupy the space where it resides. If you want to completely remove the component just remove it from the parent container.
精彩评论