What's new in J2SE?
J2SE has focused on adding new libraries. Some new features include the javax package, Swing, Java Collections API, JavaBean enhancements, and Java 2D. It also introduced a completely new security architecture and Java Hotspot.
At the same time J2SE was brought into existence, two other versions were split off - J2EE and J2ME.
What is Swing technology?
Swing is a set of GUI components with a "pluggable look and feel" based on the JDK 1.1 Lightweight UI Framework. The pluggable look and feel allows developers to implement an operating system-specific look and feel (Motif, Microsoft Windows, MacOS).
Swing components include both 100% Pure Java versions of the 1.1 AWT component set, plus a rich set of higher-level components. The complete set contains borders, buttons, checkboxes, combo boxes, icons, labels, lists, list boxes, menus, menubars, menu items, pop-up menus, radio buttons, progress bars, scroll panes and viewports, scrollbars, tabbed panes, tables, text areas, text components, text fields, trees, and HTML viewers.
What security enhancements are in J2SE?
J2SE introduces the concepts of permission and policy. When code is loaded, it's assigned permissions based on the security policy currently in effect.
These new concepts of permission and policy enable the Java Development Kit to offer fine-grained, highly configurable, flexible, and extensible access control. Now such access control can not only be specified for applets, but also for all code written in the Java programming language, including applications and beans.
What is Java 2D?
The Java 2D API is a set of classes for advanced 2D graphics and imaging. It encompasses line art, text, and images in a single comprehensive model. The API provides extensive support for image compositing and alpha-channel images, a set of classes to provide accurate color-space definition and conversion, and a rich set of display-oriented imaging operators.
These classes are provided as additions to the java.awt and java.awt.image packages (rather than as a separate package).
What about Java Collections API?
Collections Framework is a unified framework for representing and manipulating collections, thus allowing them to be manipulated independently of the details of their representation. It reduces programming effort, increases performance, allows for interoperability among unrelated APIs, reduces effort to design and learn new APIs, and fosters software reuse. The framework includes interfaces, implementations, and algorithms.
How have JavaBeans been improved?
Interaction with Applet Semantics eases the development of objects that implement applet as well as JavaBeans architecture behavior.
Better design-time support adds infrastructure during the JavaBeans component architecture design time to enable a more sophisticated builder environment.
Runtime containment and services protocol (BeanContext) adds additional context to the execution lifetime of JavaBeans architecture including, but not limited to AppletContext and the ability to parent into an AWT presentation hierarchy.