提交 decdc2b8 编写于 作者: D dav

6694792: Syntax error in java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_2.java

Reviewed-by: yan
上级 78db644c
/* /*
* Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved. * Copyright (c) 2007-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -100,7 +100,7 @@ public class SpuriousExitEnter_2 { ...@@ -100,7 +100,7 @@ public class SpuriousExitEnter_2 {
Sysout.printInstructions( instructions ); Sysout.printInstructions( instructions );
Sysout.enableNumbering(true); Sysout.enableNumbering(true);
MouseAdapter enterExitAdapter = new MouseAdapter { MouseAdapter enterExitAdapter = new MouseAdapter() {
public void mouseEntered(MouseEvent e){ public void mouseEntered(MouseEvent e){
Sysout.println("Entered on " + e.getSource().getClass().getName()); Sysout.println("Entered on " + e.getSource().getClass().getName());
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册