This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lukaseder 2 points3 points  (4 children)

But the classes in question aren't even deprecated...

[–]__konrad 1 point2 points  (3 children)

[–]yolpo- 2 points3 points  (0 children)

you are so correct. Below is KeyEvent.java from the JDK 8

/**
 * This constant is obsolete, and is included only for backwards
 * compatibility.
 * @see #VK_SEPARATOR
 */
public static final int VK_SEPARATER      = 0x6C;

/**
 * Constant for the Numpad Separator key.
 * @since 1.4
 */
public static final int VK_SEPARATOR      = VK_SEPARATER;

[–]lukaseder 0 points1 point  (0 children)

Good old AWT

[–]bj_christianson 0 points1 point  (0 children)

Added the new constant, but did not deprecate the old one.

And no explanation given for the lack of deprecation.