-
Bug
-
Resolution: Duplicate
-
P5
-
None
-
6
-
x86
-
linux
A DESCRIPTION OF THE PROBLEM :
you have in your documentation:
"Image image = Toolkit.getDefaultToolkit.getImage(...);"
that ist wrong.
A "( )" is missing!
You should change this to:
"Image image = Toolkit.getDefaultToolkit().getImage(...);"
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Image image = Toolkit.getDefaultToolkit().getImage(...);
ACTUAL -
Image image = Toolkit.getDefaultToolkit.getImage(...);
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/javase/6/docs/api/java/awt/SystemTray.html
you have in your documentation:
"Image image = Toolkit.getDefaultToolkit.getImage(...);"
that ist wrong.
A "( )" is missing!
You should change this to:
"Image image = Toolkit.getDefaultToolkit().getImage(...);"
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Image image = Toolkit.getDefaultToolkit().getImage(...);
ACTUAL -
Image image = Toolkit.getDefaultToolkit.getImage(...);
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/javase/6/docs/api/java/awt/SystemTray.html
- duplicates
-
JDK-6492377 The example for SystemTry is incorrect
-
- Closed
-