MOBILE - 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?

This question and answers originated from www.stackoverflow.com
Question by (5/24/2011 4:52:03 AM)

Answer

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.

Answer by

Find More Answers
Related Topics  mobile  java-me  lwuit
Related Questions
  • Menu Bar Height in the LWUIT Form

    application develop in the J2ME using LWUIT.when i port this application on the Samsung Device it create following problem. int h = Display.getInstance().getDisplayWidth(); It returns 388 for…
  • about LWUIT supported mobiles

    Hey I have built a small application using LWUIT and I want to know which mobile devices does support LWUIT framework? Can anyone help me regarding this issue and share their knowledge.
  • LWUIT: Layout calculation problem

    I have a rather large application written with LWUIT. With only a few screens that have the problem. The problem: When the page loads, everything looks fine. but when you scroll you can't scro…
  • Getting the selected RadioButton in LWUIT

    Hey people? I have a challenge in getting the selected item from two RadionButtons (male and Female) using LWUIT on the J2ME platform. RadioButton selected = genderGroup.getRadioButton(genderGrou…
  • How to avoid a lwuit application restarting after being minimized in java-me

    I've created an application with lwuit on java-me, however, each time the user receives a phone call the applications is minimized and when the user restores it, the first Form is shown again (a spl…
  • Why arabic font not supported in Samsung mobiles using LWUIT?

    I have tested my mobile application on some Samsung mobiles for testing purpose(Samsung Corby b3410 and Samsung c6712). Here Arabic font not showing on these mobiles. But it will working properly on…
  • How to capture images using LWUIt VIdeoComponent

    I have tried using MediaComponent , but since it is now deprecated it wont be good moving forward. Also i was not able to get it to re-size to full screen on the form. I am trying to use VideoCompon…
  • How to align RIGHT the content of TextArea in LWUIT?

    I want to align the text in a TextArea to the right. I tried the following code: Form form = new Form(); TextArea textArea = new TextArea("Some Arabic text ..."); textArea.setRTL(true); …
  • What are the difference in Dialog display in lwuit?

    In Lwuit Dialogs, I have seen .show() , .showDialog() , .showModeless() and .showPacked(String, boolean) . What are the difference between these. And when I use a dialog, until the dialog g…
  • How to display the multi line textAreas in lwuit (J2ME)?

    I have created a TextArea with statement .... quest1Label = new TextArea(); I am using the textArea for displaying the labels.... So I use following function to set its properties.... priv…