黑莓编程 - 创建无边框弹出屏幕

时间:2010-11-18 15:20:31

标签: java blackberry popup screen

你知道如何在Blackberry应用程序中创建无边界弹出屏幕吗?

1 个答案:

答案 0 :(得分:4)

PopupScreen popup = new PopupScreen(new VerticalFieldManager());
popup.add(new LabelField("Hello!"));
Border border = BorderFactory.createSimpleBorder(
        new XYEdges(), Border.STYLE_TRANSPARENT);
popup.setBorder(border);