Use Webview wv = new Webview(true, 800, 600); create Webview;
You will see that the window changes from small to large, instead of being 800x600 when it appears.
Looking at the source code, I found that Webview(true, 800, 600) only calls the setSize method internally, and does not set the initial size.
How do I set the default size during initialization?
OS:Windows11
JDK: OpenJDK21