RE: [RCP] Setting Window Dimensions and LAF

2022-04-08 Thread Eirik Bakke
1) From a module installer class, something like this: @Override public void restored() { WindowManager.getDefault().invokeWhenUIReady(() -> { Frame mainWindow = WindowManager.getDefault().getMainWindow(); mainWindow.setExtendedState(mainWindow.getExtendedState() | JFrame.MAXIMIZED_BOTH);

[RCP] Setting Window Dimensions and LAF

2022-04-08 Thread Amith, Muhammad F
Hi, I am working on a RCP-based Netbeans project (v13, Maven-based build). I am trying to find how to do the following: 1. How do I set up the initial windows dimension of the RCP app? 2. How do I set the look and feel of the RCP to one of the new Flat LAF?