Message507

Author mhgrove
Recipients
Date 2005-09-15.22:13:05
Content
this code seems to be the culprit?
this is the only place showFormWidget is called in the code, and it returns the
result of the input created by the user.  that result doesnt seem to be used
anywhere...that might be the cause of the NPE

                    enumBox.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            if (updateInProgress)
                                return;
                            JComboBox box = (JComboBox) e.getSource();
                            String str = (String) box.getSelectedItem();
                            if (str.startsWith("- Create") ||
!((List)box2list.get(box)).contains(str))
                            {
                                if (DEBUG)
                                    System.out.println("--- selected User Create");

                                String aInstanceType = c.getURI().toString();
                                showFormWidget(aInstanceType);
                            }
                        }
                    });
History
Date User Action Args
2005-09-15 22:13:05mhgrovelinkissue227 messages
2005-09-15 22:13:05mhgrovecreate