-
Deprecated FieldsFieldDescriptionApplications should prefer automatic detection, to avoid ending up with a HTTP client that is not actually supported on the current platform.
-
Deprecated MethodsMethodDescriptionUse
Timeline.removeKeyFrame(KeyFrame)
instead.UsePath.relativize
instead. This can be used even when working with APIs still usingFile
instances:base.toPath().relativize(file.toPath)
.UseHeaders.concat(String, String)
instead. This method has been renamed toconcat
to make it more explicit that the original instance is not modified.UseLogHelper.createConsoleHandler()
in combination with aCompactFormatter
instead.This method is no longer necessary sinceSystem.lineSeparator()
was introduced in Java 7.Use the more clearly namedFormPanel.addEmptyRow()
instead.UseSwingUtils.openBrowser(String)
instead, which provides the same behavior but uses a cross-platform API that also supports other operating systems.UseSwingUtils.openFile(File)
instead, which provides the same behavior but uses a cross-platform API that also supports other operating systems.UsePropertyEditor
instead.This method relies on Apple-specific AWT properties, which remain from the old Apple JDK but will be removed from the JDK in Java 9.This method relies on Apple-specific AWT properties, which remain from the old Apple JDK but will be removed from the JDK in Java 9.UseTable.getSelectedRowKey()
instead.
-
Deprecated ConstructorsConstructorDescriptionIn new code, prefer using
Range.inclusive(int, int)
orRange.exclusive(int, int)
. These factory methods allow for more explicit behavior.