Some Java Historiography
javaalmanac.io

New APIs in Java 6

Comparing Java 6 (build 1.6.0_45-oracle) with Java 5 (build 1.5.0_22-oracle).

Element Modification
java.awt.event
  • + implements MouseWheelListener
  • + implements MouseMotionListener
  • added
  • added
  • added
MouseEvent
  • added
  • added
  • added
  • added
MouseWheelEvent
  • added
java.awt.font
FontRenderContext
  • added
  • added
  • added
  • added
  • added
GraphicAttribute
  • added
  • added
ShapeGraphicAttribute
  • added
TextAttribute
  • added
  • added
  • added
  • added
  • added
  • added
  • added
TextLayout
  • added
  • added
  • added
TransformAttribute
  • added
  • added
  • added
java.awt.geom
AffineTransform
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements Serializable
  • + implements Serializable
Arc2D
  • added
  • added
  • + implements Serializable
  • + implements Serializable
  • + implements Serializable
  • + implements Serializable
Ellipse2D
  • added
  • added
  • - implements Shape
  • - extends Object
  • - implements Cloneable
  • + extends Path2D$Float
WIND_EVEN_ODD
  • removed
WIND_NON_ZERO
  • removed
append(PathIterator, boolean)
  • removed
append(Shape, boolean)
  • removed
clone()
  • removed
closePath()
  • removed
contains(Point2D)
  • removed
contains(Rectangle2D)
  • removed
contains(double, double)
  • removed
contains(double, double, double, double)
  • removed
createTransformedShape(AffineTransform)
  • removed
curveTo(float, float, float, float, float, float)
  • removed
getBounds()
  • removed
getBounds2D()
  • removed
getCurrentPoint()
  • removed
getPathIterator(AffineTransform)
  • removed
getPathIterator(AffineTransform, double)
  • removed
getWindingRule()
  • removed
intersects(Rectangle2D)
  • removed
intersects(double, double, double, double)
  • removed
lineTo(float, float)
  • removed
moveTo(float, float)
  • removed
quadTo(float, float, float, float)
  • removed
reset()
  • removed
setWindingRule(int)
  • removed
transform(AffineTransform)
  • removed
  • + implements Serializable
  • + implements Serializable
  • added
  • added
  • added
  • + implements Serializable
  • + implements Serializable
  • + implements Serializable
  • + implements Serializable
  • + implements Serializable
  • + implements Serializable
  • + implements Serializable
  • + implements Serializable
RoundRectangle2D
  • added
  • added
java.awt.image
BufferStrategy
  • added
BufferedImage
flush()
  • removed
getCapabilities(GraphicsConfiguration)
  • removed
VolatileImage
flush()
  • removed
java.awt.peer
ComponentPeer
  • added
flip(BufferCapabilities.FlipContents)
  • removed
  • added
requestFocus(Component, boolean, boolean, long)
  • removed
  • added
ContainerPeer
cancelPendingPaint(int, int, int, int)
  • removed
  • added
DialogPeer
  • added
FramePeer
  • added
setIconImage(Image)
  • removed
RobotPeer
  • added
  • added
  • added
WindowPeer
  • added
  • added
  • added
  • added
updateAlwaysOnTop()
  • removed
  • added
  • added
  • added
  • added
java.awt.print
PrinterJob
  • added
java.awt
AlphaComposite
  • added
  • added
Component.BltBufferStrategy
  • added
Component.FlipBufferStrategy
  • added
Component
  • added
  • added
  • added
Dialog
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
FlowLayout
  • added
  • added
FontMetrics
  • added
Font
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Frame
finalize()
  • removed
GraphicsEnvironment
  • added
GridBagConstraints
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
PopupMenu
  • added
  • added
RenderingHints
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Toolkit
  • added
  • added
  • added
  • added
  • added
Window
finalize()
  • removed
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.beans
  • added
java.io
  • added
File
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
IOException
  • added
  • added
ObjectStreamClass
  • added
PipedInputStream
  • added
  • added
PipedReader
  • added
  • added
PrintStream
  • added
PrintWriter
  • added
java.lang.instrument
Instrumentation
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.lang.management
  • added
  • added
ThreadInfo
  • added
  • added
  • added
OperatingSystemMXBean
  • added
ThreadMXBean
  • added
  • added
  • added
  • added
  • added
java.lang
Double
  • added
  • added
  • added
Enum
  • added
Float
  • added
  • added
  • added
Math
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
StrictMath
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
String
  • added
  • added
  • added
  • added
System
  • added
Thread
  • added
java.net
  • added
  • added
IDN
  • added
  • added
NetworkInterface
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.nio
Buffer
  • added
  • added
  • added
  • added
java.security
AccessController
  • added
  • added
  • added
Policy
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • - extends GeneralSecurityException
  • + extends UnrecoverableEntryException
  • added
java.sql
BatchUpdateException
  • added
  • added
  • added
  • added
  • added
DataTruncation
  • added
  • added
  • added
  • + implements Iterable
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
SQLWarning
  • added
  • added
  • added
  • added
Types
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Array
  • added
Blob
  • added
  • added
CallableStatement
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Clob
  • added
  • added
  • + implements Wrapper
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements Wrapper
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements Wrapper
PreparedStatement
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements Wrapper
  • + implements Wrapper
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
SQLInput
  • added
  • added
  • added
  • added
SQLOutput
  • added
  • added
  • added
  • added
  • added
  • + implements Wrapper
  • added
  • added
  • added
  • added
  • added
java.text
BreakIterator
getInt(byte[], int)
  • removed
getLong(byte[], int)
  • removed
getShort(byte[], int)
  • removed
CollationKey
  • added
equals(Object)
  • removed
hashCode()
  • removed
DateFormatSymbols
  • added
  • added
  • added
DecimalFormatSymbols
  • added
  • added
  • added
  • added
  • added
DecimalFormat
  • added
  • added
  • added
NumberFormat
  • added
  • added
  • added
java.util.concurrent.atomic
AtomicBoolean
  • added
AtomicIntegerArray
  • added
AtomicIntegerFieldUpdater
  • added
AtomicInteger
  • added
AtomicLongArray
  • added
AtomicLongFieldUpdater
  • added
AtomicLong
  • added
AtomicReferenceArray
  • added
AtomicReferenceFieldUpdater
  • added
AtomicReference
  • added
java.util.concurrent.locks
  • added
  • added
  • added
  • - extends Object
  • + extends AbstractOwnableSynchronizer
LockSupport
  • added
  • added
  • added
  • added
ReentrantReadWriteLock.WriteLock
  • added
  • added
ReentrantReadWriteLock
  • added
java.util.concurrent
AbstractExecutorService
  • added
  • added
ArrayBlockingQueue
  • added
ConcurrentHashMap
  • added
  • added
  • added
CopyOnWriteArraySet
  • added
  • - implements Future
  • - implements Runnable
  • + implements RunnableFuture
  • added
ScheduledThreadPoolExecutor
  • added
  • added
ThreadPoolExecutor
  • added
  • added
TimeUnit
  • added
  • added
  • added
  • added
  • added
  • added
  • added
BlockingQueue
  • added
  • added
  • added
  • added
  • added
java.util.logging
Logger
  • added
  • added
java.util.zip
  • added
  • added
  • added
java.util
  • added
  • added
  • added
Arrays
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Calendar
  • added
  • added
  • added
  • added
  • added
Collections
  • added
  • added
  • - implements Queue
  • + implements Deque
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
ListResourceBundle
  • added
Locale
  • added
PriorityQueue
  • added
  • added
  • added
Properties
  • added
  • added
  • added
PropertyResourceBundle
  • added
  • added
  • added
ResourceBundle
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Scanner
  • added
  • added
  • added
  • - implements SortedMap
  • + implements NavigableMap
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • - implements SortedSet
  • + implements NavigableSet
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Queue
  • added
SortedMap
  • added
  • added
  • added
javax.accessibility
AccessibleAttributeSequence
AccessibleAttributeSequence()
  • removed
  • added
AccessibleRole
  • added
AccessibleTextSequence
AccessibleTextSequence()
  • removed
  • added
AccessibleAction
  • added
  • added
  • added
  • added
  • added
javax.imageio.stream
FileCacheImageInputStream
  • added
FileImageInputStream
  • added
FileImageOutputStream
  • added
MemoryCacheImageInputStream
  • added
javax.imageio
ImageIO
  • added
  • added
javax.jnlp
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
javax.management.loading
  • added
javax.management.modelmbean
DescriptorSupport
  • added
  • added
  • - implements Cloneable
  • - implements Cloneable
  • - implements Serializable
  • added
  • - throws RuntimeOperationsException
  • - implements Cloneable
javax.management.monitor
CounterMonitor
preDeregister()
  • removed
setGranularityPeriod(long)
  • removed
GaugeMonitor
setGranularityPeriod(long)
  • removed
StringMonitor
setGranularityPeriod(long)
  • removed
javax.management.openmbean
  • - implements Serializable
  • added
  • added
  • added
  • added
  • added
  • - implements Serializable
  • - implements Serializable
  • - implements Serializable
  • - implements Serializable
  • - implements Serializable
  • - implements Serializable
  • added
  • - implements Serializable
  • added
  • - implements Serializable
  • added
  • - implements Serializable
  • added
  • - implements Serializable
  • added
OpenType
  • added
  • - implements Serializable
  • - implements Serializable
  • added
javax.management.relation
RoleList
  • added
  • added
  • added
  • added
  • added
  • added
RoleUnresolvedList
  • added
  • added
  • added
  • added
  • added
  • added
javax.management.remote.rmi
RMIConnectorServer
  • added
  • + implements JMXAddressable
  • added
  • + implements Closeable
  • added
  • added
  • added
  • added
  • + implements Closeable
javax.management.remote
  • + implements JMXAddressable
  • added
  • + implements Closeable
javax.management.timer
TimerAlarmClockNotification
  • removed
javax.management
  • added
  • added
  • - implements Serializable
AttributeList
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Attribute
  • added
  • added
  • added
JMX
  • added
  • - implements Serializable
  • - throws IllegalArgumentException
  • added
  • added
  • - implements Serializable
  • - throws IllegalArgumentException
  • added
  • added
  • + implements DescriptorRead
  • - throws IllegalArgumentException
  • added
  • added
  • + implements DescriptorRead
  • added
  • added
  • added
  • - implements Serializable
  • - throws IllegalArgumentException
  • added
  • added
  • - implements Serializable
  • - throws IllegalArgumentException
  • - throws IllegalArgumentException
  • added
  • added
  • - implements Serializable
  • - throws IllegalArgumentException
  • added
  • added
MBeanServerDelegate
  • added
MBeanServerInvocationHandler
  • added
  • added
  • added
  • added
NotificationBroadcasterSupport
  • added
  • added
  • added
  • - implements Serializable
ObjectInstance
  • added
  • - implements Serializable
  • + implements Comparable
  • added
  • added
  • added
  • added
  • added
Query
  • added
  • added
  • + implements MBeanRegistration
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements DescriptorRead
getDescriptor()
  • removed
  • added
Descriptor
  • added
  • added
javax.naming
InitialContext
  • added
  • added
javax.net.ssl
SSLContextSpi
  • added
  • added
SSLContext
  • added
  • added
  • added
  • added
SSLEngine
  • added
  • added
  • added
SSLSocket
  • added
  • added
  • added
javax.security.auth.kerberos
KerberosKey
  • added
  • added
KerberosTicket
  • added
  • added
javax.security.auth.login
  • added
Configuration
  • added
  • added
  • added
  • added
  • added
  • added
  • added
javax.security.auth.x500
X500Principal
  • added
  • added
javax.security.sasl
Sasl
  • added
  • added
javax.sql.rowset.serial
SQLInputImpl
  • added
  • added
  • added
  • added
SQLOutputImpl
  • added
  • added
  • added
  • added
SerialArray
  • added
SerialBlob
  • added
  • added
SerialClob
  • added
  • added
javax.sql.rowset
BaseRowSet
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
RowSetMetaDataImpl
  • added
  • added
javax.sql
  • added
  • added
  • + implements CommonDataSource
getLogWriter()
  • removed
getLoginTimeout()
  • removed
setLogWriter(PrintWriter)
  • removed
setLoginTimeout(int)
  • removed
  • + implements Wrapper
  • + implements CommonDataSource
getLogWriter()
  • removed
getLoginTimeout()
  • removed
setLogWriter(PrintWriter)
  • removed
setLoginTimeout(int)
  • removed
PooledConnection
  • added
  • added
RowSet
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements CommonDataSource
getLogWriter()
  • removed
getLoginTimeout()
  • removed
setLogWriter(PrintWriter)
  • removed
setLoginTimeout(int)
  • removed
javax.swing.border
AbstractBorder
  • added
  • added
TitledBorder
  • added
  • added
javax.swing.event
MenuDragMouseEvent
  • added
  • - extends Object
  • + extends MouseAdapter
mouseClicked(MouseEvent)
  • removed
mouseDragged(MouseEvent)
  • removed
mouseEntered(MouseEvent)
  • removed
mouseExited(MouseEvent)
  • removed
mouseMoved(MouseEvent)
  • removed
mousePressed(MouseEvent)
  • removed
mouseReleased(MouseEvent)
  • removed
  • added
SwingPropertyChangeSupport
  • added
  • added
  • added
  • added
  • added
javax.swing.filechooser
  • added
javax.swing.plaf.basic
BasicButtonUI
  • added
  • added
BasicComboBoxEditor
  • added
BasicComboBoxUI
  • added
  • added
BasicDirectoryModel
  • added
  • added
  • added
  • added
BasicHTML
  • added
BasicInternalFrameUI.BorderListener
  • added
BasicLabelUI
  • added
  • added
BasicListUI
  • added
  • added
BasicMenuItemUI
  • added
  • added
BasicMenuUI
propertyChangeListener
  • removed
BasicPanelUI
  • added
  • added
BasicPasswordFieldUI
  • added
BasicProgressBarUI
  • added
  • added
  • added
BasicScrollPaneUI
  • added
  • added
BasicSliderUI
  • added
  • added
  • added
  • added
  • added
  • added
BasicSpinnerUI
  • added
  • added
BasicTabbedPaneUI
  • added
  • added
  • added
  • added
BasicTableHeaderUI
  • added
  • added
  • added
BasicTableUI
  • added
  • added
BasicTextAreaUI
  • added
  • added
BasicTextFieldUI
  • added
  • added
installUI(JComponent)
  • removed
propertyChange(PropertyChangeEvent)
  • removed
BasicToolBarUI.DragWindow
  • added
BasicToolBarUI
  • added
  • added
BasicTreeUI
  • added
  • added
javax.swing.plaf.metal
MetalComboBoxButton
  • added
MetalComboBoxUI
  • added
MetalInternalFrameUI
  • added
MetalLookAndFeel
  • added
MetalTabbedPaneUI
  • added
javax.swing.plaf.synth
SynthGraphicsUtils
  • added
SynthLookAndFeel
  • - throws IllegalArgumentException
  • added
SynthPainter
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
SynthSliderUI.SynthTrackListener
  • added
javax.swing.plaf
ComponentUI
  • added
  • added
javax.swing.table
  • added
  • added
javax.swing.text.html
  • + implements Serializable
javax.swing.text
DefaultCaret
  • added
  • added
  • added
  • added
DefaultEditorKit
  • added
  • added
  • + implements AccessibleExtendedText
  • added
  • added
  • added
  • added
  • added
JTextComponent
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements CharSequence
  • added
  • added
  • added
javax.swing
AbstractButton
  • added
  • added
  • added
  • added
Box.Filler
accessibleContext
  • removed
getMaximumSize()
  • removed
getMinimumSize()
  • removed
getPreferredSize()
  • removed
  • added
BoxLayout
  • added
  • added
Box
accessibleContext
  • removed
  • added
ButtonGroup
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements TransferHandler.HasGetTransferHandler
  • added
  • added
  • added
  • added
JButton
configurePropertiesFromAction(Action)
  • removed
JCheckBox
configurePropertiesFromAction(Action)
  • removed
createActionPropertyChangeListener(Action)
  • removed
JComboBox
  • added
  • + implements TransferHandler.HasGetTransferHandler
  • added
  • added
  • added
JDesktopPane
  • added
isOpaque()
  • removed
  • added
  • added
  • added
  • added
  • + implements TransferHandler.HasGetTransferHandler
  • - throws HeadlessException
  • - throws HeadlessException
  • - throws HeadlessException
  • - throws HeadlessException
  • - throws HeadlessException
  • - throws HeadlessException
  • - throws HeadlessException
  • - throws HeadlessException
  • - throws HeadlessException
  • - throws HeadlessException
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements TransferHandler.HasGetTransferHandler
  • added
  • added
  • added
  • added
JInternalFrame
  • added
  • added
  • added
JList
  • added
  • added
  • added
JMenuItem
  • added
createActionPropertyChangeListener(Action)
  • removed
  • added
JMenu
configurePropertiesFromAction(Action)
  • removed
JOptionPane
  • added
JPasswordField.AccessibleJPasswordField
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
JPasswordField
  • added
JRadioButton
configurePropertiesFromAction(Action)
  • removed
createActionPropertyChangeListener(Action)
  • removed
JRootPane
  • added
JSlider
  • added
JSpinner.DefaultEditor
  • added
  • added
JTabbedPane.AccessibleJTabbedPane
  • added
JTabbedPane
  • added
  • added
  • added
JTable.AccessibleJTable.AccessibleJTableCell
  • added
  • added
  • added
  • + implements RowSorterListener
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
JTextField
  • added
  • added
JTree
  • added
  • added
  • added
  • + implements TransferHandler.HasGetTransferHandler
  • added
  • added
  • added
  • added
  • added
LookAndFeel
  • added
OverlayLayout
  • added
RepaintManager
  • added
  • added
  • added
  • added
  • added
  • added
SpringLayout
  • added
  • added
  • added
  • added
  • added
  • added
Timer
  • added
  • added
  • added
  • added
TransferHandler
  • added
  • added
  • added
UIDefaults
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Action
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
javax.xml.datatype
DatatypeFactory
  • added
javax.xml.parsers
DocumentBuilderFactory
  • added
SAXParserFactory
  • added
  • added
  • added
  • added
  • added
  • added
javax.xml.transform
TransformerFactory
  • added
javax.xml.validation
SchemaFactory
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
javax.xml.xpath
XPathFactory
  • added
Data Source

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.

More detailed API comparisons based on the japicmp tool can be found here.