private void SubmitButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SubmitButtonActionPerformed
        try {
            loanAmount = Double.parseDouble(LoanAmountTxtField.getText());
            numberOfYears = Double.parseDouble(NumberOfYearsTxtField.getText());
            interestRate = Double.parseDouble(InterestRateTxtField.getText());
            currency = CurrencyComboBox.getItemAt(CurrencyComboBox.getSelectedIndex()).toString();
            monthlyPmt = obj.calculateMonthlyPayment(loanAmount, numberOfYears,
                    interestRate, currency);
            InfoPanel.setText(String.format("Annual Interest Rate: %.2f, Number of years:%.2f, Loan Amount: %.2f %s, monthly payment in BGN: %.2f", interestRate, numberOfYears, loanAmount, currency, monthlyPmt));
            
        } catch (RemoteException ex) {
            Logger.getLogger(ClientGUI.class.getName()).log(Level.SEVERE, null, ex);
        }
        
    }//GEN-LAST:event_SubmitButtonActionPerformed