I have few suggestions that I would like to propose to be updated in LWUIT’s source code, since I’m finding it difficult to do it externally (extending classes and overriding methods…).
I believe they are general and everyone would benefit from them.
1- Dialog.java, Form.java
When softbutton’s transparency is less than 255, every time a menu or a Dialog is shown, the commands will be overlaid with the Form’s command. Two workarounds can be done to mitigate this.
i. Set the sofbutton’s transparency of all Dialogs and Menu to 255
ii. Temporary hide the Form’s commands while a Dialog or a Menu is shown
Give the option to show or not to show the error Dialog in the mainEDTLoop method. If u have an application in production, u wouldn’t want a pop screen to notify the user of internal errors.
3- TextArea.java, GameCanvasImplemenation.java
Although TextAreas are only editable in the native Screen, it is intuitive to show a blinking cursor similar to a TextField, and whenever the user presses any key while focus is on the TextArea, it should automatically take him to the native screen for input.
It would be useful to set the variables MONTHS, DAYS, & LABELS to public.