openFunction((String) list.getSelectedValue());
openFunction((FunctionItem) list.getSelectedValue());
                public void mouseClicked(MouseEvent evt) {                    openFunction((String) list.getSelectedValue());                }