< prev index next >

src/java.desktop/share/classes/java/awt/SplashScreen.java

Print this page

        

@@ -63,10 +63,20 @@
  * <BR>
  * For example:
  * <PRE>
  * java -splash:filename.gif Test
  * </PRE>
+ * HiDPI scaled image is also supported for both jar and command line option
+ * Unscaled image name i.e. filename.gif should be passed in
+ * manifest/{@code -splash:} option for all image types irrespective of
+ * HiDPI and Non-HiDPI
+ * Following is the naming convention for scaled images.
+ * Screen scale 1.25: filename@125pct.gif
+ * Screen scale 1.50: filename@150pct.gif
+ * Screen scale 2:    filename@200pct.gif and filename@2x.gif both are supported
+ * Screen scale 2.50: filename@250pct.gif
+ * Screen scale 3:    filename@300pct.gif and filename@3x.gif both are supported
  * The command line interface has higher precedence over the manifest
  * setting.
  * <p>
  * The splash screen will be displayed as faithfully as possible to present the
  * whole splash screen image given the limitations of the target platform and
< prev index next >