Gooner
Gooner

Reputation: 1398

Representing tables in the LWUIT browser

I am trying to have a horizontally scrolling table within a HTMLComponent as the tables can be wider than the width of the mobile phone and I don't want the user to have a wrapped table. I set setScrollableX(true) for HTMLTable, but I am having a lot of problems getting focus in and out of the different components. Any tips on how I would go about achieving this?

Upvotes: 0

Views: 465

Answers (1)

Shai Almog
Shai Almog

Reputation: 52770

Focus in LWUIT is a mixed bag of issues and the HTML component inherits quite allot of them. The Browser demo available in LWUIT's SVN ( http://java.net/projects/lwuit/sources/svn/show ) has a feature that allows showing a "mouse pointer" within the browser window so you can avoid focus and just point at a cell. I'm not sure if it was tested with side scrolling but its possibly the easiest approach to make this UI more usable.

Upvotes: 1

Related Questions