hi i am yatin
i am using eswt api for developing j2me application
my question is:
i am creating one TextExtension in mobileshell
my code relating above point is :
import org.eclipse.ercp.swt.mobile.TextExtension;
import org.eclipse.ercp.swt.mobile.MobileShell;
.
..
.
...
MobileShell chapternotesshell = new MobileShell(Display.getCurrent(), SWT.MAX);
TextExtension chaptertextnotes = new TextExtension(chapternotesshell,SWT.BORDER|SWT.MULTI|SWT.RESIZE|SWT.V_SCROLL,TextExtension.NON_PREDICTIVE);
when i run my apps vertical scroll-bar is visible in TextExtension , i know very well it is happen because of the "SWT.V_SCROLL" this property in TextExtension, but my question is that when user entering more text line in TextExtension at that time TextExtension size is increase when it cross its limited height of the mobile screen so how can i showing vertical scroll-bar when size of TextExtension is increase in mobile screen?

Reply With Quote

