I want to place a StringItem in the bottom of a form. I try this: mMessage = new StringItem(null, ""); mMessage.setLayout(Item.LAYOUT_BOTTOM); But i get this from the compiler: cannot resolve symbol variable LAYOUT_BOTTOM
Is there anyone who knows how to use this metode?
-Martin
[ November 29, 2004: Message edited by: martin filton ] [ November 29, 2004: Message edited by: martin filton ]
The method setLayout() and LAYOUT constants were added in MIDP 2.0. If you're compiling with MIDP 1.0 I would expect to get this error, but I would also expect to get an error because of the presence of the call to setLayout(), regardless of the parameters you pass to it.
Also you would get errors on setLayout() and LAYOUT_BOTTOM if those lines of code are outside a method (but within a class). [ November 30, 2004: Message edited by: Tomas Conway ]