Skip to main content

inline class initializsation does not allow inheritance other interfaces

No replies
prader
Offline
Joined: 2007-11-15

may that should be able to jdk7. Isnt realy a wish, has more touch to bugreport.
Example (current):

fileMenu.add(createMenuItem(
new AbstractAction("Add Page") {
public void actionPerformed(ActionEvent e) {

Example: (may jdk7)
fileMenu.add(createMenuItem(
new AbstractAction("Add Page") implements Serializable{
public void actionPerformed(ActionEvent e) {

Message was edited by: prader