@SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        MainContainer = new javax.swing.JPanel();
        OptionsContainer = new javax.swing.JPanel();
        InterestRateLabel = new javax.swing.JLabel();
        InterestRateTxtField = new javax.swing.JTextField();
        NumberOfYearsLabel = new javax.swing.JLabel();
        NumberOfYearsTxtField = new javax.swing.JTextField();
        LoanAmountLabel = new javax.swing.JLabel();
        LoanAmountTxtField = new javax.swing.JTextField();
        CurrencyLabel = new javax.swing.JLabel();
        CurrencyComboBox = new javax.swing.JComboBox();
        SubmitButton = new javax.swing.JButton();
        InformationPane = new javax.swing.JScrollPane();
        InfoPanel = new javax.swing.JTextPane();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        getContentPane().setLayout(new java.awt.GridLayout(2, 1));

        MainContainer.setLayout(new javax.swing.BoxLayout(MainContainer, javax.swing.BoxLayout.LINE_AXIS));

        OptionsContainer.setLayout(new java.awt.GridLayout(4, 2));

        InterestRateLabel.setText("Annual Interest Rate");
        OptionsContainer.add(InterestRateLabel);
        OptionsContainer.add(InterestRateTxtField);

        NumberOfYearsLabel.setText("Number of years");
        OptionsContainer.add(NumberOfYearsLabel);
        OptionsContainer.add(NumberOfYearsTxtField);

        LoanAmountLabel.setText("Loan Amount");
        OptionsContainer.add(LoanAmountLabel);
        OptionsContainer.add(LoanAmountTxtField);

        CurrencyLabel.setText("Currency");
        OptionsContainer.add(CurrencyLabel);

        CurrencyComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "BGN", "USD", "EURO", "RUB", "AUD", "ZAR", "CYN", "TRY" }));
        CurrencyComboBox.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CurrencyComboBoxActionPerformed(evt);
            }
        });
        OptionsContainer.add(CurrencyComboBox);

        MainContainer.add(OptionsContainer);

        SubmitButton.setText("Submit");
        SubmitButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                SubmitButtonActionPerformed(evt);
            }
        });
        MainContainer.add(SubmitButton);

        getContentPane().add(MainContainer);

        InfoPanel.setEditable(false);
        InformationPane.setViewportView(InfoPanel);

        getContentPane().add(InformationPane);

        pack();
    }// </editor-fold>//GEN-END:initComponents