JDK-8080607 : Web Start does not honor height / width % values
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-05-18
  • Updated: 2015-09-29
  • Resolved: 2015-05-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u60Fixed 9 b70Fixed
Description
Web Start does not honor height / width % values, instead ignores % and uses internal defaults. 
In plugin applets, width and height can be set to absolute values or percentages.
see: http://docs.oracle.com/javase/8/docs/technotes/guides/deploy/deployment_toolkit.html (section 19.1.1)
in a browser, the percentages are taken as percentage of browser page.
In a stand alone applet, they should be taken as percentages of screen size, instead they are ignored.
Comments
added some manual tests at: http://oklahoma.us.oracle.com/www/tests/1.9.0/8080607/ Crucible review : https://java.se.oracle.com/code/cru/CR-JDK9CLIENT-1047 note 1: dimensions are interior dimensions of Frame (or JFrame iif using JApplet), and percentage is of total screen size, so 100% creates container larger than the screen by the decoration size. Should we try to adjust total screen size to account for decoration ? note 2: unrelated to this change - but JFrame used for JApplet container is not resizable, should it be ?
19-05-2015