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);
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?