public SymbolSearchForm() {






        java.util.List<String> lst = new ArrayList<>();

        final SymbolSearch symbolSearch = new SymbolSearch();
        lst = symbolSearch.getNamesList();
        int howMany = lst.size();

        String[] strArray = new String[howMany];
        lst.toArray(strArray);
        final JComboBox jcb = new JComboBox(strArray);
        final JTextField jt = new JTextField("                                                   ");

        jcb.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                jt.setText(symbolSearch.getSymbol(String.valueOf(jcb.getSelectedItem())));
            }
        });



        JPanel southPanel = new JPanel();

        southPanel.add(jcb);
        southPanel.add(jt);
        add(southPanel, BorderLayout.SOUTH);


        this.setDefaultCloseOperation(HIDE_ON_CLOSE);
        this.pack();
        this.setLocationRelativeTo(null);
        this.setVisible(false);
    }