Domanda

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 width=240 height=180, layout = BorderLayout, scrollableX = false, scrollableY = true, components = [VirtualKeyboard$1, Container]]

The error occured after showing more than once the virtualKeyboard.

I looked my code but I didn't find any word BorderLayout !

So how to correct this error ?

È stato utile?

Soluzione

LWUIT 1.4 is old and static version. So you can use new LWUIT version(1.5) or you can checkout the LWUIT SVN repository and use latest updated version.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top