|
@@ -69,26 +69,6 @@ public class Controller {
|
|
|
double yOffset;
|
|
|
|
|
|
public void initialize(Stage primaryStage){
|
|
|
- /*
|
|
|
- FileInputStream fis;
|
|
|
- Properties property = new Properties();
|
|
|
-
|
|
|
- try {
|
|
|
- fis = new FileInputStream("src/main/resources/config.properties");
|
|
|
- property.load(fis);
|
|
|
-
|
|
|
- String host = property.getProperty("db.host");
|
|
|
- String login = property.getProperty("db.login");
|
|
|
- String password = property.getProperty("db.password");
|
|
|
-
|
|
|
- System.out.println("HOST: " + host
|
|
|
- + ", LOGIN: " + login
|
|
|
- + ", PASSWORD: " + password);
|
|
|
-
|
|
|
- } catch (IOException e) {
|
|
|
- System.err.println("ОШИБКА: Файл свойств отсуствует!");
|
|
|
- }
|
|
|
- */
|
|
|
|
|
|
ImageView minimizeImageView = new ImageView(new Image(getClass().getResourceAsStream("media\\minimize.png")));
|
|
|
minimizeImageView.setFitHeight(16);
|