如何在J2me中创建多行多列的列表?
我在 J2ME 中使用 LWUIT。我想创建 5 列和多行的列表。怎么能做到这一点。?我想在列表中添加数据,数据来自网络?请帮助我。我附上了我想要的输出图像。提前致谢。
例如
形状|切|颜色 |清晰度 |克拉
圆形|哦|我| i1 | 1.000
ABC |瓦 |你| s | 2.300--
| --| - | - | -----
-- -- - - ----
--
I m using LWUIT in J2ME. I want to create list with 5 column and multiple row. How can done this.? I want to add data on list,and data is come from Network? plz help me. I attached my desire output image. Thanks in advance.
Eg
shape | cut | color | clarity | carats
round | o | i | i1 | 1.000
abc | w | u | s | 2.300
-- | -- | - | - | -----
-- -- - - ----
--
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您使用表格而不是列表。
如果您想要一个列表,您可以使用新的容器列表(请参阅 LWUIT 演示的滚动部分中的网格演示)。
I suggest you use a Table and not a List.
If you want a List you can use the new Container list (see the Grid Demo in the Scrolling portion of the LWUIT demo).