New APIs in Java 6
Comparing Java 6 (1.6.0_45-oracle) with Java 5 (1.5.0_22-oracle).
Element | Modification |
---|---|
java.awt.event | |
| |
| |
| |
| |
MouseEvent | |
| |
| |
| |
| |
MouseWheelEvent | |
| |
java.awt.font | |
FontRenderContext | |
| |
| |
| |
| |
| |
GraphicAttribute | |
| |
| |
ShapeGraphicAttribute | |
| |
TextAttribute | |
| |
| |
| |
| |
| |
| |
| |
TextLayout | |
| |
| |
| |
TransformAttribute | |
| |
| |
| |
java.awt.geom | |
AffineTransform | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Arc2D | |
| |
| |
| |
| |
| |
| |
Ellipse2D | |
| |
| |
| |
WIND_EVEN_ODD |
|
WIND_NON_ZERO |
|
append(PathIterator, boolean) |
|
append(Shape, boolean) |
|
clone() |
|
closePath() |
|
contains(Point2D) |
|
contains(Rectangle2D) |
|
contains(double, double) |
|
contains(double, double, double, double) |
|
createTransformedShape(AffineTransform) |
|
curveTo(float, float, float, float, float, float) |
|
getBounds() |
|
getBounds2D() |
|
getCurrentPoint() |
|
getPathIterator(AffineTransform) |
|
getPathIterator(AffineTransform, double) |
|
getWindingRule() |
|
intersects(Rectangle2D) |
|
intersects(double, double, double, double) |
|
lineTo(float, float) |
|
moveTo(float, float) |
|
quadTo(float, float, float, float) |
|
reset() |
|
setWindingRule(int) |
|
transform(AffineTransform) |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
RoundRectangle2D | |
| |
| |
java.awt.image | |
BufferStrategy | |
| |
BufferedImage | |
flush() |
|
getCapabilities(GraphicsConfiguration) |
|
VolatileImage | |
flush() |
|
java.awt.peer | |
ComponentPeer | |
| |
flip(BufferCapabilities.FlipContents) |
|
| |
requestFocus(Component, boolean, boolean, long) |
|
| |
ContainerPeer | |
cancelPendingPaint(int, int, int, int) |
|
| |
DialogPeer | |
| |
FramePeer | |
| |
setIconImage(Image) |
|
RobotPeer | |
| |
| |
| |
WindowPeer | |
| |
| |
| |
| |
updateAlwaysOnTop() |
|
| |
| |
| |
| |
java.awt.print | |
PrinterJob | |
| |
java.awt | |
AlphaComposite | |
| |
| |
Component.BltBufferStrategy | |
| |
Component.FlipBufferStrategy | |
| |
Component | |
| |
| |
Container | |
| |
| |
| |
Dialog | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
FlowLayout | |
| |
| |
FontMetrics | |
| |
Font | |
| |
| |
| |
| |
| |
| |
| |
Frame | |
finalize() |
|
GraphicsConfiguration | |
| |
| |
| |
GraphicsEnvironment | |
| |
GridBagConstraints | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Image | |
| |
| |
| |
PopupMenu | |
| |
| |
RenderingHints | |
| |
| |
| |
| |
| |
| |
| |
| |
Toolkit | |
| |
| |
| |
| |
| |
Window | |
finalize() |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
java.beans | |
| |
java.io | |
| |
File | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
IOException | |
| |
| |
ObjectStreamClass | |
| |
PipedInputStream | |
| |
| |
PipedReader | |
| |
| |
PrintStream | |
| |
PrintWriter | |
| |
java.lang.annotation | |
ElementType | |
| |
RetentionPolicy | |
| |
java.lang.instrument | |
Instrumentation | |
| |
| |
| |
| |
| |
| |
| |
| |
java.lang.management | |
| |
| |
ThreadInfo | |
| |
| |
| |
MemoryType | |
| |
OperatingSystemMXBean | |
| |
ThreadMXBean | |
| |
| |
| |
| |
| |
java.lang | |
Double | |
| |
| |
| |
Enum | |
| |
Float | |
| |
| |
| |
Math | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
StrictMath | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
String | |
| |
| |
| |
| |
System | |
| |
Thread | |
| |
Thread.State | |
| |
java.math | |
RoundingMode | |
| |
java.net | |
| |
| |
| |
| |
NetworkInterface | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Authenticator.RequestorType | |
| |
Proxy.Type | |
| |
| |
| |
java.nio | |
Buffer | |
| |
| |
| |
| |
java.security | |
AccessController | |
| |
| |
| |
Policy | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
KeyRep.Type | |
| |
| |
java.sql | |
BatchUpdateException | |
| |
| |
| |
| |
| |
DataTruncation | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
SQLWarning | |
| |
| |
| |
| |
Types | |
| |
| |
| |
| |
| |
| |
| |
| |
Array | |
| |
Blob | |
| |
| |
CallableStatement | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Clob | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
PreparedStatement | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
SQLInput | |
| |
| |
| |
| |
SQLOutput | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
java.text | |
BreakIterator | |
getInt(byte[], int) |
|
getLong(byte[], int) |
|
getShort(byte[], int) |
|
| |
| |
| |
equals(Object) |
|
hashCode() |
|
| |
DateFormatSymbols | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
DecimalFormat | |
| |
| |
Format | |
| |
| |
NumberFormat | |
| |
| |
| |
| |
java.util.concurrent.atomic | |
AtomicBoolean | |
| |
AtomicIntegerArray | |
| |
AtomicIntegerFieldUpdater | |
| |
AtomicInteger | |
| |
AtomicLongArray | |
| |
AtomicLongFieldUpdater | |
| |
AtomicLong | |
| |
AtomicReferenceArray | |
| |
AtomicReferenceFieldUpdater | |
| |
AtomicReference | |
| |
java.util.concurrent.locks | |
| |
| |
| |
| |
LockSupport | |
| |
| |
| |
| |
ReentrantReadWriteLock.WriteLock | |
| |
| |
ReentrantReadWriteLock | |
| |
java.util.concurrent | |
AbstractExecutorService | |
| |
| |
ArrayBlockingQueue | |
| |
ConcurrentHashMap | |
| |
| |
| |
CopyOnWriteArraySet | |
| |
| |
| |
ScheduledThreadPoolExecutor | |
| |
| |
ThreadPoolExecutor | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
BlockingQueue | |
| |
| |
| |
| |
| |
java.util.logging | |
Logger | |
| |
| |
| |
java.util.zip | |
| |
| |
| |
java.util | |
| |
| |
| |
Arrays | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Calendar | |
| |
| |
| |
| |
| |
Collections | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
ListResourceBundle | |
| |
Locale | |
| |
PriorityQueue | |
| |
| |
| |
Properties | |
| |
| |
| |
PropertyResourceBundle | |
| |
| |
| |
ResourceBundle | |
| |
| |
| |
| |
| |
| |
| |
| |
Scanner | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Formatter.BigDecimalLayoutForm | |
| |
| |
| |
| |
Queue | |
| |
SortedMap | |
| |
| |
| |
javax.accessibility | |
AccessibleAttributeSequence | |
AccessibleAttributeSequence() |
|
| |
AccessibleRole | |
| |
AccessibleTextSequence | |
AccessibleTextSequence() |
|
| |
AccessibleAction | |
| |
| |
| |
| |
| |
javax.imageio.stream | |
FileCacheImageInputStream | |
| |
FileImageInputStream | |
| |
FileImageOutputStream | |
| |
MemoryCacheImageInputStream | |
| |
javax.imageio | |
ImageIO | |
| |
| |
javax.jnlp | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
javax.management.loading | |
| |
javax.management.modelmbean | |
DescriptorSupport | |
| |
| |
| |
| |
| |
| |
| |
| |
javax.management.monitor | |
CounterMonitor | |
preDeregister() |
|
setGranularityPeriod(long) |
|
GaugeMonitor | |
setGranularityPeriod(long) |
|
StringMonitor | |
setGranularityPeriod(long) |
|
javax.management.openmbean | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
OpenType | |
| |
| |
| |
| |
| |
javax.management.relation | |
RoleInfo | |
| |
RoleList | |
| |
| |
| |
| |
| |
| |
RoleUnresolvedList | |
| |
| |
| |
| |
| |
| |
javax.management.remote.rmi | |
RMIConnectorServer | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
javax.management.remote | |
| |
| |
| |
javax.management.timer | |
TimerAlarmClockNotification |
|
javax.management | |
| |
| |
| |
AttributeList | |
| |
| |
| |
| |
| |
| |
| |
Attribute | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
MBeanServerDelegate | |
| |
MBeanServerInvocationHandler | |
| |
| |
| |
| |
NotificationBroadcasterSupport | |
| |
| |
| |
| |
ObjectInstance | |
| |
| |
| |
| |
| |
| |
| |
Query | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
getDescriptor() |
|
| |
Descriptor | |
| |
| |
javax.naming | |
InitialContext | |
| |
| |
javax.net.ssl | |
SSLContextSpi | |
| |
| |
SSLContext | |
| |
| |
| |
| |
SSLEngine | |
| |
| |
| |
SSLSocket | |
| |
| |
SSLEngineResult.HandshakeStatus | |
| |
SSLEngineResult.Status | |
| |
| |
javax.security.auth.kerberos | |
KerberosKey | |
| |
| |
KerberosTicket | |
| |
| |
javax.security.auth.login | |
| |
Configuration | |
| |
| |
| |
| |
| |
| |
| |
| |
javax.security.auth.x500 | |
X500Principal | |
| |
| |
javax.security.sasl | |
Sasl | |
| |
| |
javax.sql.rowset.serial | |
SQLInputImpl | |
| |
| |
| |
| |
SQLOutputImpl | |
| |
| |
| |
| |
SerialArray | |
| |
SerialBlob | |
| |
| |
SerialClob | |
| |
| |
javax.sql.rowset | |
BaseRowSet | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
RowSetMetaDataImpl | |
| |
| |
javax.sql | |
| |
| |
| |
getLogWriter() |
|
getLoginTimeout() |
|
setLogWriter(PrintWriter) |
|
setLoginTimeout(int) |
|
| |
getLogWriter() |
|
getLoginTimeout() |
|
setLogWriter(PrintWriter) |
|
setLoginTimeout(int) |
|
PooledConnection | |
| |
| |
RowSet | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
getLogWriter() |
|
getLoginTimeout() |
|
setLogWriter(PrintWriter) |
|
setLoginTimeout(int) |
|
javax.swing.border | |
AbstractBorder | |
| |
| |
TitledBorder | |
| |
| |
javax.swing.event | |
MenuDragMouseEvent | |
| |
| |
mouseClicked(MouseEvent) |
|
mouseDragged(MouseEvent) |
|
mouseEntered(MouseEvent) |
|
mouseExited(MouseEvent) |
|
mouseMoved(MouseEvent) |
|
mousePressed(MouseEvent) |
|
mouseReleased(MouseEvent) |
|
| |
SwingPropertyChangeSupport | |
| |
| |
| |
| |
| |
javax.swing.filechooser | |
| |
javax.swing.plaf.basic | |
BasicButtonUI | |
| |
| |
BasicComboBoxEditor | |
| |
BasicComboBoxUI | |
| |
| |
BasicDirectoryModel | |
| |
| |
| |
| |
BasicHTML | |
| |
BasicInternalFrameUI.BorderListener | |
| |
BasicLabelUI | |
| |
| |
BasicListUI | |
| |
| |
BasicMenuItemUI | |
| |
| |
BasicMenuUI | |
propertyChangeListener |
|
BasicPanelUI | |
| |
| |
BasicPasswordFieldUI | |
| |
BasicProgressBarUI | |
| |
| |
| |
BasicScrollPaneUI | |
| |
| |
BasicSliderUI | |
| |
| |
| |
| |
| |
| |
BasicSpinnerUI | |
| |
| |
BasicTabbedPaneUI | |
| |
| |
| |
| |
BasicTableHeaderUI | |
| |
| |
| |
BasicTableUI | |
| |
| |
BasicTextAreaUI | |
| |
| |
BasicTextFieldUI | |
| |
| |
installUI(JComponent) |
|
propertyChange(PropertyChangeEvent) |
|
BasicToolBarUI.DragWindow | |
| |
BasicToolBarUI | |
| |
| |
BasicTreeUI | |
| |
| |
javax.swing.plaf.metal | |
MetalComboBoxButton | |
| |
MetalComboBoxUI | |
| |
MetalInternalFrameUI | |
| |
MetalLookAndFeel | |
| |
MetalTabbedPaneUI | |
| |
javax.swing.plaf.synth | |
SynthGraphicsUtils | |
| |
SynthLookAndFeel | |
| |
| |
SynthPainter | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
SynthSliderUI.SynthTrackListener | |
| |
javax.swing.plaf | |
ComponentUI | |
| |
| |
javax.swing.table | |
| |
| |
javax.swing.text.html | |
| |
FormSubmitEvent.MethodType | |
| |
javax.swing.text | |
DefaultCaret | |
| |
| |
| |
| |
DefaultEditorKit | |
| |
| |
| |
| |
| |
| |
| |
| |
JTextComponent | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
javax.swing | |
AbstractButton | |
| |
| |
| |
| |
Box.Filler | |
accessibleContext |
|
getMaximumSize() |
|
getMinimumSize() |
|
getPreferredSize() |
|
| |
BoxLayout | |
| |
| |
Box | |
accessibleContext |
|
| |
ButtonGroup | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
JButton | |
configurePropertiesFromAction(Action) |
|
JCheckBox | |
configurePropertiesFromAction(Action) |
|
createActionPropertyChangeListener(Action) |
|
JComboBox | |
| |
| |
| |
| |
| |
JDesktopPane | |
| |
isOpaque() |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
JInternalFrame | |
| |
| |
| |
JList | |
| |
| |
| |
JMenuItem | |
| |
createActionPropertyChangeListener(Action) |
|
| |
JMenu | |
configurePropertiesFromAction(Action) |
|
JOptionPane | |
| |
JPasswordField.AccessibleJPasswordField | |
| |
| |
| |
| |
| |
| |
| |
| |
JPasswordField | |
| |
JRadioButton | |
configurePropertiesFromAction(Action) |
|
createActionPropertyChangeListener(Action) |
|
JRootPane | |
| |
JSlider | |
| |
JSpinner.DefaultEditor | |
| |
| |
JTabbedPane.AccessibleJTabbedPane | |
| |
JTabbedPane | |
| |
| |
| |
JTable.AccessibleJTable.AccessibleJTableCell | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
JTextField | |
| |
| |
JTree | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
LookAndFeel | |
| |
OverlayLayout | |
| |
RepaintManager | |
| |
| |
| |
| |
| |
| |
SpringLayout | |
| |
| |
| |
| |
| |
| |
Timer | |
| |
| |
| |
| |
TransferHandler | |
| |
| |
| |
UIDefaults | |
| |
| |
| |
JTable.PrintMode | |
| |
| |
| |
| |
| |
Action | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
javax.xml.datatype | |
DatatypeFactory | |
| |
javax.xml.parsers | |
DocumentBuilderFactory | |
| |
SAXParserFactory | |
| |
| |
| |
| |
| |
| |
javax.xml.transform | |
TransformerFactory | |
| |
javax.xml.validation | |
SchemaFactory | |
| |
| |
| |
| |
| |
| |
| |
| |
javax.xml.xpath | |
XPathFactory | |
|
This report is based on simple comparison of all public
and
protected
APIs of the java.*
and javax.*
packages of JDK builds 1.6.0_45-oracle and
1.5.0_22-oracle. It does not make statements about
compatibility.
For the latest Java versions the corresponding CSRs (Compatibility & Specification Review) are linked for a quick reference to find out about the reasoning of the change.