I am porting a Java Web Start application, which worked fine under Oracle JDK Java 7 and 8, to Java 9 and 10. What remains to be solved is a layout bug:
The application is a former Java applet which is running as JApplet
,
using the <applet-desc>
element with width=1000
, height=650
.
However under Java 9 and 10 it renders the window with width=1000
, height=1000
, providing an unwanted lower display area.
I tried to resize the window, but without success. The dimension values of the targeted container get updated, but the rendered window will not change its size.
Can anyone confirm this behaviour?
I would prefer a simple fix rather than porting the applet into a regular Swing application.
Update: I confirmed the same behaviour in a JWS JApplet application from another party.