netbeans rcp中如何编程设置主窗口标题

时间:2022-12-06 15:17:29

http://www.th7.cn/Program/java/201510/606050.shtml

————————————————————————————————————————————————————————————————————————————————

// 设置主窗口标题
        WindowManager.getDefault().invokeWhenUIReady(new Runnable() {
            @Override
            public void run() {
                WindowManager.getDefault().getMainWindow().setTitle("仪器设备现场数据采集系统");
            }
        });