如何使用没有按钮的对话框并自动关闭?在BlackBerry上

我需要使用对话框。出现2-3秒后自动关闭。 我应该在BlackBerry上使用哪个对象?     
已邀请:
创建一个扩展PopupScreen并使用TimerTask自动关闭它的类。所以你的构造函数中的代码看起来像这样:
    Timer timer = new Timer();
    timer.schedule(new TimerTask(){

        public void run()
        {
            if(TestScreen.this.isDisplayed())
            {
                synchronized (Application.getEventLock())
                {
                    TestScreen.this.close();
                }
            }
        }

    }, WAIT_TIME_IN_MILLISECONDS);
    
你也可以用
Status.show(String message) 
  显示状态屏幕两秒钟。 要么
Status.show(String message, Bitmap bitmap, int time) 
  显示指定的状态屏幕   图标,指定时间。     

要回复问题请先登录注册