This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Quick fix "implement interface" | ||
---|---|---|---|
Product: | java | Reporter: | Tim Lebedkov <lebedkov> |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | markiewb |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Tim Lebedkov
2006-11-01 20:57:20 UTC
*** Bug 223366 has been marked as a duplicate of this bug. *** Here is another (artificial) example Input code: ------------ package sample; public class NewMain1 { public void main(String[] args) { new javax.swing.JButton().addActionListener(this); } } Transformed code: ----------------- package sample; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class NewMain1 implements ActionListener{ public void main(String[] args) { new javax.swing.JButton().addActionListener(this); } public void actionPerformed(ActionEvent e) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } } *** This bug has been marked as a duplicate of bug 234263 *** |