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

2022-01-20 00:00:00 popup screen java blackberry

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

Do you know how to create borderless popup screen within Blackberry app?

推荐答案

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

相关文章