Questions tagged [lwuit-textfield]

Allows in place editing using a lightweight API without necessarily moving to the external native text box.

The main drawback in this approach is that editing can't support features such as T9 and might not have the same keymapping or behavior of the native text input.

Notice that due to limitations of text area and text field input modes in text area aren't properly supported since they won't work properly across devices. To limit input modes please use the setInputModeOrder method. All constants declated in TextArea are ignored with the exception of PASSWORD.

22 questions
3
votes
1 answer

Is this bug on when set the max size on the TextField while use LWUIT with Blackberry?

I set the TextField max size to 20. Its working fine. And i got the warning alert like Field Full when I reach. There is no issues. And there is no any other components in the Form. Only one TextField placed in the Form. But issue is After that…
bharath
  • 14,283
  • 16
  • 57
  • 95
3
votes
1 answer

How to remove focus from LWUIT Textfield and resize Form correctly when Virtual Keyboard hides?

I'm facing a problem with the LWUIT's Textfield. In some of my Forms I display a CategoryBar, while in others I hide it. In some of the Forms I have Textfields, the problem presents itself when I focus on one and make the Virtual Keyboard (VKB) to…
Uriel Arvizu
  • 1,876
  • 6
  • 37
  • 97
3
votes
1 answer

Is this a bug when Constraint from one textfield applies to others on other form

I've tested so many times and get strange behavior.Lwuit version 1.5. I've created few Form with TextFields on them.(Form1, Form2, Form3). When I set a numeric constraint to one of the TextFields on the Form1 by Resource Editor, then run MIDP…
AzizD
  • 103
  • 10
2
votes
1 answer

How to set dynamically the maxSize of a TextField according to its width?

There is a TextField inside a Container and other components in the Form. According to the available space for the Container the TextField has a preferred width. How can I set programmatically a maxSize , that is the maximum number of characters…
pheromix
  • 18,213
  • 29
  • 88
  • 158
2
votes
1 answer

How to add calendar in lwuit TextField or comboBox

I am creating an application using lwuit. And i want to add calendar in comboBox. please give me an idea as soon as possible..
Ayush
  • 31
  • 1
  • 3
2
votes
0 answers

J2ME LWUIT lib, textfield password not showing last character

I'm a little bit new to J2ME ... I'm using LWUIT as my UI library. My question is: I want to display a password TextField that accepts numbers only (I succeeded), but the problem is, when making it accepts numbers only, the last character is not…
Mohamed Kamal
  • 357
  • 1
  • 2
  • 10
1
vote
0 answers

TextField dissapear in TableLayout in LWUIT Java ME

I've searched for this problem but still can not find the solution. By the way my level of Google Translate is ugly (I speak Spanish). Well, the thing is that I want my application form looks as follows: Or maybe so: The problem is that when I…
0
votes
1 answer

How to make the Datatype indicator at the right of a TextField disappeared when clicking the left or right arrow keys?

There is a TextField populated by a value from a RecordStore , and the carret position is at 0 when navigating to the TextField. I need to go to a certain character position within the TextField's text. But when I click the right navigational button…
pheromix
  • 18,213
  • 29
  • 88
  • 158
0
votes
1 answer

LWUIT 1.4 : Internal error with Virtual Keyboard

When I click outside the virtualKeyboard when it is shown then I got a Dialog showing this message : An internal application error occured : java.lang.IllegalArgumentException : Component is already contained in Container : Container[x=0 y=140…
pheromix
  • 18,213
  • 29
  • 88
  • 158
0
votes
1 answer

LWUIT 1.4 - Why doesn't the virtual keyboard appear after first show during textfield edit?

I want to show the virtual keyboard when the user is editing the textfield. I take this approach : public class ChpModif extends TextField { public ChpModif(int maxChars, FocusListener focusListener, DataChangedListener dataChangeListener,…
pheromix
  • 18,213
  • 29
  • 88
  • 158
0
votes
1 answer

pointing cursor over textarea in lwuit

How do we set the cursor in TextArea? Mainly the cursor should be visible to the user. The cursor is visible in the TextField where as it is not visible in the TextArea.How to set the cursor when the TextArea has focus?.
0
votes
1 answer

Why isn't Label shown when setting setLabelForComponent for a TextField?

There are Label, TextField and a Container in a Form. I set : ... private Container c = new Container(new BoxLayout(BoxLayout.Y_AXIS)); ... impay30 = new Label("Impayé…
user806574
0
votes
1 answer

How to set numeric virtual keyboard only for LWUIT TextField that constraint with Password and Numeric?

I want to set LWUIT TextField constraint to Number and Password. I make TextField by TextField tf=new TextField(); tf.setConstraints(TextArea.NUMBER|TextField.PASSWORD); tf.setInputModeOrder(new String[ ] {"123"} ); I use virtual keyboard for input…
AT07
  • 98
  • 1
  • 11
0
votes
1 answer

TextField isVisible() function in LWUIT dosent work as aspected

I am working on an application for mobile using LWUIT library. Its a form with containers and components. I am having a container c2 which contains certain controls like various textFields, label etc. I am trying to put validations on it. But in…
Nitesh Verma
  • 1,795
  • 4
  • 27
  • 46
0
votes
1 answer

LWUIT: Changing colors on a TextField

When I create a new LWUIT TextField, by default it looks like this: It comes with that gray line underneath. How can I change the color of that line? I can change the blue text with setFgColor(), but I'd like to change that underline as well. How…
James Harpe
  • 4,315
  • 8
  • 47
  • 74
1
2