Scratch for Java

Window::useSplashLogo()

Browser availability: desktop-only.

The browser has no desktop splash window. This option only reports a limitation.

The logo on the loading screen. Call it before new Window.

Examples

This example requires the desktop runtime in the current browser revision.

void main() {
  // The picture shown while the window is starting up - a file next to the
  // program, or a built-in sprite. It has to be said before the window is
  // built.
  Window.useSplashLogo("slimeGreen");
  Window myWindow = new Window(600, 240);
  myWindow.setStage(new Stage());
}
 

View on GitHub

Syntax

Java

.useSplashLogo(path)

Parameters

Name Data Type Description
path String an image

Return

void

useSplashLogo()

Create Shareable URL

Select Sections