java 7 发布_JAVA 7 正式版发布 新特性一览表

Swing

新增 JLayer 类,是一个灵活而且功能强大的Swing组件修饰器,使用方法:How to Decorate Components with JLayer.

Nimbus Look and Feel 外观从 com.sun.java.swing 包移到 javax.swing 包中,详情:javax.swing.plaf.nimbus.

更轻松的重量级和轻量级组件的混合。

支持透明窗体以及非矩形窗体的图形界面,请看 How to Create Translucent and Shaped Windows。

JColorChooser 类新增 HSV tab.

网络

新增 URLClassLoader.close 方法,请看 Closing a URLClassLoader.

支持 Sockets Direct Protocol (SDP) 提供高性能网络连接,详情请看 Understanding the Sockets Direct Protocol.

集合

新增 TransferQueue 接口,是 BlockingQueue 的改进版,实现类为 LinkedTransferQueue.

RIA/发布

拖拽的小程序使用一个默认或者定制的标题进行修饰,详情:Requesting and Customizing Applet Decoration in Draggable Applets.

JNLP 文件做了如下方面的增强,详情请看 JNLP File Syntax:

The os attribute in the information and resources elements can now contain specific versions of Windows, such as Windows Vista or Windows 7.

Applications can use the install attribute in the shortcut element to specify their their desire to be installed. Installed applications are not removed when the Java Web Start cache is cleared, but can be explicitly removed using the Java Control Panel.

Java Web Start applications can be deployed without specifying the codebaseattribute; see Deploying Without Codebase

可直接在 HTML 中嵌入 JNLP 文件:Embedding JNLP File in Applet Tag.

可在 JavaScript 代码中检查 Applet 是否已经加载完成:Handling Initialization Status With Event Handlers.

可在 Applet 从快捷方式启动或者拖出浏览器时对窗口样式和标题进行控制:Requesting and Customizing Applet Decoration in Developing Draggable Applets.

XML

包含 Java API for XML Processing (JAXP) 1.4.5, 支持 Java Architecture for XML Binding(JAXB) 2.2.3, 和 Java API for XML Web Services (JAX-WS) 2.2.4.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值