Big AWT patch.
From-SVN: r34976
This commit is contained in:
parent
406a65d0db
commit
c7a136d3ef
70 changed files with 4838 additions and 277 deletions
|
@ -42,8 +42,21 @@ public class FocusEvent extends AWTEvent
|
|||
|
||||
public String paramString ()
|
||||
{
|
||||
return ("FocusEvent[" + temporary
|
||||
+ ";" + super.paramString () + "]");
|
||||
String r = "";
|
||||
switch (id)
|
||||
{
|
||||
case FOCUS_GAINED:
|
||||
r += "FOCUS_GAINED";
|
||||
break;
|
||||
case FOCUS_LOST:
|
||||
r += "FOCUS_LOST";
|
||||
break;
|
||||
default:
|
||||
r += "unknown id";
|
||||
break;
|
||||
}
|
||||
r += (temporary ? "temporary" : "permanent");
|
||||
return r;
|
||||
}
|
||||
|
||||
private boolean temporary;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue