diff --git a/main/ui/src/main/java/org/cryptomator/ui/controllers/WelcomeController.java b/main/ui/src/main/java/org/cryptomator/ui/controllers/WelcomeController.java new file mode 100644 index 000000000..be0f2abc8 --- /dev/null +++ b/main/ui/src/main/java/org/cryptomator/ui/controllers/WelcomeController.java @@ -0,0 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2014 Sebastian Stenzel + * This file is licensed under the terms of the MIT license. + * See the LICENSE.txt file for more info. + * + * Contributors: + * Sebastian Stenzel - initial API and implementation + ******************************************************************************/ +package org.cryptomator.ui.controllers; + +import java.net.URL; +import java.util.ResourceBundle; + +import javafx.fxml.FXML; +import javafx.fxml.Initializable; +import javafx.scene.image.Image; +import javafx.scene.image.ImageView; + +public class WelcomeController implements Initializable { + + @FXML + private ImageView botImageView; + + @Override + public void initialize(URL url, ResourceBundle rb) { + this.botImageView.setImage(new Image(WelcomeController.class.getResource("/bot_welcome.png").toString())); + } + +} diff --git a/main/ui/src/main/resources/bot_welcome.png b/main/ui/src/main/resources/bot_welcome.png new file mode 100644 index 000000000..3906db706 Binary files /dev/null and b/main/ui/src/main/resources/bot_welcome.png differ diff --git a/main/ui/src/main/resources/fxml/welcome.fxml b/main/ui/src/main/resources/fxml/welcome.fxml index d4cba3a56..4f4dad9e4 100644 --- a/main/ui/src/main/resources/fxml/welcome.fxml +++ b/main/ui/src/main/resources/fxml/welcome.fxml @@ -15,17 +15,20 @@ + - - + - \ No newline at end of file diff --git a/main/ui/src/main/resources/localization.properties b/main/ui/src/main/resources/localization.properties index 84ffa2a6e..a237ad885 100644 --- a/main/ui/src/main/resources/localization.properties +++ b/main/ui/src/main/resources/localization.properties @@ -17,7 +17,7 @@ main.addDirectory.contextMenu.open=Add existing vault # welcome.fxml welcome.welcomeLabel=Welcome to Cryptomator -welcome.addButtonInstructionLabel=Start by adding a new vault :-) +welcome.addButtonInstructionLabel=Start by adding a new vault # initialize.fxml initialize.label.password=Password