开发者

LWUIT Calendar issue

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜