Java – Java SE 7 Features

Java SE 7 is a major release that has brought many new features and enhancements in Java programming.

Java SE 7 Features


Swing is the Java framework, in Java SE 7 there are various enhancements in javax.swing package.
  1. Providing the JLayer class to decorate the swing component. 
  2. Moving Nimbus look and feel from the package to the java.swing.plaf.nimbus package. 
  3. Allowing mix up of the heavyweight and lightweight component. 
  4. Allowing you to create translucent and shaped windows. 
  5. Adding the selection of Hue-saturation-luminance (HSL) color in the JColorChooser class. 

Input/Output (I/O)

  1. Allowing non-blocking I/O (NIO) 2.0. 
  2. Allowing you to develop customized file system provider. 
  3. Allowing you to manipulate contents of the Java archive (JAR) file. 
  4. Introducing the new APIs in java.nio.file package. 


Add the close() method in the URLClassLoader.class. The introduction of this method has overcome the problem of supporting the update implementations of resource  that are taken up from a specific codebase. 


  1. Elliptic Curve Cryptography (ECC) as a new native provider that contains various ECC algorithm. 
  2. Feature to disable weak cryptography algorithm.

Multithreaded Custom Class Loader 

Locking mechanism to prevent deadlock situation , as the custom class loaders were initially prone to deadlocks. 

Java Programming Langauge

  1. Changes in binary literals — integral types (byte, short, int, and long) can also be expressed using the binary number system.
  2. Use of underscore in the numerical literals can be possible. 
  3. Possible to use strings in switch statement. 
  4. Improving the compiler warning that occurs while using non-reifiable formal parameter with the varargs methods


Please enter your comment!
Please enter your name here