Hi, try this
try {
PictureX pic = new PictureX();
pic.setHorizontalAlignment( Graphics.HCENTER );
pic.setImage("/car1.png");
Label lb = new Label();
lb.setLabel("White Car for sale. Cost: 3,00000");
lb.setHorizontalAlignment(Graphics.HCENTER);
//ContainerComponentX cc = new ContainerComponentX
(ContainerComponentX.LAYOUT_HORIZONTAL);
//cc.paintBg(true);
//cc.setKnowHowToPaintBg(false);
cc.append(pic);
cc.append(lb);
//onSelection this menu
will go to NationalLotteryMenu Screen.
//NationalLotteryMenuView lotteryView = new
NationalLotteryMenuView( midlet );
menu.appendMenuOption(cc, cc);
//----------------------------------------------------------------------------------------
PictureX pic2 = new PictureX();
pic4.setHorizontalAlignment( Graphics.HCENTER );
pic4.setImage("/car2.png");
Label lb4 = new Label();
lb4.setLabel("Red Car for sale. Cost: 2,30000");
lb4.setHorizontalAlignment(Graphics.HCENTER);
//ContainerComponentX cc4 = new ContainerComponentX
(ContainerComponentX.LAYOUT_HORIZONTAL);
//cc4.paintBg(true);
//cc.setKnowHowToPaintBg(false);
cc4.append(pic4);
cc4.append(lb4);
cc4.setHorizontalAlignment(Graphics.LEFT);
//onSelection this menu will go to HealthMenu Screen.
//CarTravelMenuView carTravelMenuView = new
CarTravelMenuView(midlet);
menu.appendMenuOption(cc4, cc4);
//----------------------------------------------------------------------------------------
On Nov 23, 5:13 pm, pradeep murjwani <
pradeep.murjwani...@gmail.com>
wrote:
> Hello Sir,
>
> My problem is that when i m adding 5 images in the
> screen(using method name as append(component)) then i scroll the page by
> click on down button on mobile(i.e 7210), its *scroll very slow.*i tried to
> solve the problem many times but i can't find any solution.
> * *I request you to please give me the solution