Hello Ashish,
I know your problem = )
You have a couple possible solutions.
You could add labels with spaces in front of the buttons.
Or you could add spaces after the real name of the button.
The above are not very pretty and could change with each phone since the
widths are different.
If you set the Layout Manager to null ( that is really the only thing you
can do with it)
You can then use the components setLocation method.
I hope that helps
Zev
A Basic guide to iApplis
http://www.geocities.co.jp/SiliconValley-Cupertino/1621/
----------Original Message
From: "Ashish Agrawal" <ashish_ag@hotmail.com>
Subject: tech - java components
Date: Sat, 03 Mar 2001 21:34:01
Hi List,
TASK:
I am trying to use com.nttdocomo.ui.Panel and the button, and what i am
trying to do is basically display the buttons by adding them to the panel.
PROBLEM:
however, the buttons show up in the same line till it exceeds the line
width and then go the next line. What I want to do is to display each of the
buttons on a separate line. So is there a way to do it, may be forcing a
line break in a panel, or using LayoutManager. (the api doesn't say much
about the LayoutManager ! )
Any help on this would be appreciated.
-Ashish
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
_______________________________________________________
[ Did you check the archives? http://www.appelsiini.net/keitai-l/ ]
Received on Mon Mar 5 11:59:44 2001