JavaFx. Переработай приложение, не трогая вёрстку, только изменяя параметры кнопок.   Создайте диалоговое приложение «Конвертер валюты», позволяющее конвертировать денежную сумму из одной валюты в другую. Курсы валют хранятся в файле или базе данных и могут редактироваться в приложении.<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.example.demo1.HelloController">
    <children>
        <Button layoutX="79.0" layoutY="143.0" mnemonicParsing="false" onAction="#plus" text="+" />
      <TextField fx:id="ansField" layoutX="225.0" layoutY="224.0" />
      <TextField fx:id="firstField" layoutX="69.0" layoutY="224.0" prefHeight="26.0" prefWidth="103.0" />
      <Button fx:id="minus" layoutX="129.0" layoutY="143.0" mnemonicParsing="false" onAction="#minus" text="-" />
      <Button fx:id="ymnoz" layoutX="78.0" layoutY="175.0" mnemonicParsing="false" onAction="#ymnoz" text="*" />
      <Button fx:id="delenie" layoutX="129.0" layoutY="175.0" mnemonicParsing="false" onAction="#delenie" text="/" />
      <Label fx:id="rovno" layoutX="191.0" layoutY="228.0" text="-&gt;" />
      <Label fx:id="znak" layoutX="183.0" layoutY="229.0" />
    </children>
</AnchorPane>
package org.example.demo1;

import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;

public class HelloController {
    public TextField ansField;
    public TextField firstField;
    public TextField secondField;
    public Button minus;
    public Button ymnoz;
    public Button delenie;
    public Label rovno;
    public Label znak;

    double first, second, ans;

    @FXML
    protected void plus() {
        first = Double.parseDouble(firstField.getText());
        second = Double.parseDouble(secondField.getText());
        znak.setText("+");
        ans = first + second;
        ansField.setText(String.valueOf(ans));
    }

    public void minus(ActionEvent actionEvent) {
        first = Double.parseDouble(firstField.getText());
        second = Double.parseDouble(secondField.getText());
        znak.setText("-");
        ans = first - second;
        ansField.setText(String.valueOf(ans));
    }

    public void ymnoz(ActionEvent actionEvent) {
        first = Double.parseDouble(firstField.getText());
        second = Double.parseDouble(secondField.getText());
        znak.setText("*");
        ans = first * second;
        ansField.setText(String.valueOf(ans));
    }

    public void delenie(ActionEvent actionEvent) {
        first = Double.parseDouble(firstField.getText());
        second = Double.parseDouble(secondField.getText());
        znak.setText("/");
        ans = first / second;
        ansField.setText(String.valueOf(ans));
    }
}package org.example.demo1;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;

import java.io.IOException;

public class HelloApplication extends Application {
    @Override
    public void start(Stage stage) throws IOException {
        FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
        Scene scene = new Scene(fxmlLoader.load(), 820, 640);
        stage.setTitle("TEST");
        stage.setScene(scene);
        stage.show();
    }

    public static void main(String[] args) {
        launch();
    }
}