Advertisement

01.05.2004 at 04:02AM PST, ID: 20840864
[x]
Attachment Details

J2ME - Midlet Form - Horizontal Scrolling

Asked by Ustas in Java Programming Language, Java 2 Micro-Edition (J2ME), New to Java Programming

Tags: j2me, scroll, form

Hello All,

Been trying to figure out if J2ME javax.microedition.lcdui.Form allows for horizontal scrolling.

When form items are added to this form, and they exceed the form area, the vertical scrollbar appears automatically. This is not the case however when an ImageItem wider than the form is placed onto it. That is, if say the form on a Nokia mobile with a screen of 125x100 takes precisely those dimensions, and an ImageItem of 200x200 is placed on it. Vertical scrolling appears automatically, but not the horizontal.

Arguements such as horizontal scrolling cannot be there for the MIDP 1.0 standard since not all mobiles have the left and right arrow keys are unfounded, since all the phones have the 0-9 digits out of which 2,8,4,6 keys can do the job as well.

I know I can implement the scrolling myself manually using Canvas, but I will then loose the ability to work with Form items, that is a requirement for me.

Therefore to simplify the whole question I need to know:

1) How to make the javax.microedition.lcdui.Form have a horizontal scrollbar, or a fully qualified reasoning why it is not possible.

2) How to do it otherwise while preserving the ability to use ImageItem and/or other form items.

Regards,
StasStart Free Trial
[+][-]01.05.2004 at 04:17AM PST, ID: 10042177

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.05.2004 at 04:29AM PST, ID: 10042285

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.05.2004 at 04:56AM PST, ID: 10042482

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.05.2004 at 04:57AM PST, ID: 10042484

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Programming Language, Java 2 Micro-Edition (J2ME), New to Java Programming
Tags: j2me, scroll, form
Sign Up Now!
Solution Provided By: jimmack
Participating Experts: 1
Solution Grade: A
 
 
[+][-]01.05.2004 at 04:58AM PST, ID: 10042494

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.05.2004 at 09:04AM PST, ID: 10044989

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.05.2004 at 09:06AM PST, ID: 10045018

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.05.2004 at 09:09AM PST, ID: 10045043

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32