Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FileInputStream input = new FileInputStream("C:\\Users\\serku\\Desktop\\Malarze\\" + current.getPath());
- image.setImage(new Image (input));
- // 2 linijki poniżej powoduja rozciaganie
- image.fitWidthProperty().bind(mainApp.getStage().widthProperty().subtract(200));
- image.fitHeightProperty().bind(mainApp.getStage().heightProperty().subtract(250));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement