English 中文(简体)
黑贝里的食肉类是看不到的。
原标题:List widget is invisible in BlackBerry

下面是我的黑莓设备法的刀子。 它是一个有3个物品的清单。 问题是,在一开始,只有所有权在我的黑莓模拟器中可见,3项物品是看不见的。 这项调查基于j2me polish。 我在《手册》中找不到一些东西。

de.enough.polish.ui.List transTypeList = new de.enough.polish.ui.List("", List.IMPLICIT);
        //  transTypeList.setInfo("View Transaction Status. Select the Transaction Status to view details.");
            System.out.println("Setting Title");
            transTypeList.setTitle("View Transaction Status. Select the Transaction Status to view details.");
            //#style list1
            transTypeList.append("Processed Transactions", null);
                //#style list1
            transTypeList.append("Un-Processed Transactions", null);
            //#style list1
            transTypeList.append("Rejected Transactions", null);


            transTypeList.addCommand(backCmd);
            transTypeList.setCommandListener(this);

            System.out.println("Setting Title");


            //#style nameTicker
            transTypeList.setTicker(nameTrans);
            display.setCurrent(this.transTypeList);
            currentItem = "transTypeList";
问题回答

我并不是说这是正确的,但希望是:

我认为,你必须使用实地清单而不是黑莓清单;

∗∗∗∗

手段:

ListField transTypeList=new ListField(ListField.HIGHLIGHT_FOCUS);

//Write what you want according to blackberry methods;

add(transTypeList);//without adding field to the screen you didn t get anything;

<>strong>Title()是一种预先界定的方法,只显示“Title”

这是因为在黑色清单中现场施工;





相关问题
add text in http request string url

ok i made a midlet through which i can connect to server pages and get soem information as response. For example i made a midlet through which i acced url: http://example.com/?u=nepal&t=1 Now i ...

Do I have to do a setSize() on a Vector before using it?

Given private final Vector v = new Vector(); //instance variable the following 3 lines are in an instance method in the same class. 1. int length = v.capacity(); 2. int size = v.size(); ...

Is the situation with Java ME improving?

It seems to be the consensus that developing for Java ME is not as cross platform as you might expect, particularly compared to say java SE, but it is difficult to assess how the situation is evolving....

Privileged operations in netbeans mobility

I m writing a Java ME app that will use privileged operations such as messaging. By default the user is prompted to confirm each of these operations, but I would like to run it as a background ...

ClassFormatError: 56 while using hessian in j2me

I am trying to use the hessian j2me implementation @ http://hessian.caucho.com/ using java me sdk 3.0. http://hessian.caucho.com/doc/hessian-overview.xtp#Hessian%20Client%20for%20a%20cell-phone ...

热门标签