📄 foo
字号:
<h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4370733.html"> <b>4370733</b></a>:AWTKeyStroke.getAWTKeyStroke(String) and toString are now symmetric</h3><blockquote>Previously it was not possible to take the output from<code>AWTKeyStroke.toString</code> and pass it to the<code>getAWTKeyStroke</code> method. This has been changedso the methods</blockquote><h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4341785.html"> <b>4341785</b></a>:Clarify spec for several List methods</h3><blockquote>The spec for the following <code>List</code> methods has beenclarified to state that unspecified behavior results whenthe range is out of bounds:<ul><li><a href="../../../api/java/awt/List.html#deselect(int)">deselect(int)</a><br><li><a href="../../../api/java/awt/List.html#setMultipleMode(boolean)">setMultipleMode(boolean)</a><br><li><a href="../../../api/java/awt/List.html#select(int)">select(int)</a></ul></blockquote><h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4368570.html"> <b>4368570</b></a>:Clarify List spec regarding behavior of clicking on a selected item</h3><blockquote>Previously, the class spec for List stated that clicking on anunselected item selects it and clicking on a selected item de-selects it.This is true only if the list is in multiple-selection mode.In single-selection mode, any click on a list's item selects theclicked item. The spec has been clarified.</blockquote><h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4082708.html"> <b>4082708</b></a>: Clarified spec for the ContainerEvent.getContainer method</h3><blockquote>The<a href="../../../api/java/awt/event/ContainerEvent.html#getContainer()">ContainerEvent.getContainer</a>method assumes that <code>source</code> is of type <code>Container</code>.Previously, it casted the source to type <code>Container</code>without first checking which could result in ClassCastException. The method has been changed toreturn a value of null if the source isn't a <code>Container</code>.</blockquote><h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4620715.html"> <b>4620715</b></a>:New KeyEvent codes for two standard Microsoft Windows keys.</h3><blockquote>Two keys on a standard Microsoft Windows keyboard don't have Java keycodes —the windows key and the context menu key. This impedes the ability to meet508 requirements. Therefore, the <code>java.awt.event.KeyEvent.VK_WINDOWS</code>and <code>java.awt.event.KeyEvent.VK_CONTEXT_MENU</code> keycodes have beenadded.</blockquote><h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4829063.html"> <b>4829063</b></a>:Scrollbar now specifies that Scrollbar thumb may not be visible</h3><blockquote>Previously, the doc for Scrollbar.getVisibleAmount and setVisibleAmountdid not say that sometimes the thumb might not be visible or accurately describewhat the scrollbar's range is used for. The specification has been cleaned up.This is a doc-only change.</blockquote><h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4840172.html"> <b>4840172</b></a>:Behavior of KeyEvent.getKeyChar is clarified</h3><blockquote>Use of KeyEvent.getKeyChar is explained in the KeyEvent class documentation,but the doc for the method itself was brief. The doc for getKeyChar hasbeen improved for this release.</blockquote><h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4233061.html"> <b>4233061</b></a>:Clarify spec that ENTER doesn't fire an ActionEvent</h3><blockquote>There is confusion among some developers that when the focusis on a <code>Button</code>, pressing the ENTER keydoesn't fire an <code>ActionEvent</code>. This is correct behavior.The SPACE bar fires an <code>ActionEvent</code>. The<a href="../../../api/java/awt/event/ActionEvent.html">ActionEvent</a>class specification was updated to clarify this fact.</blockquote><h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4221123.html"> <b>4221123</b></a>:New FileDialog constructors</h3><blockquote>Three new <code>FileDialog</code> constructors have been addedthat can specify a <code>Dialog</code> as the owner:<ul><li><a href="../../../api/java/awt/FileDialog.html#FileDialog(java.awt.Dialog)">FileDialog(Dialog)</a><br><li><a href="../../../api/java/awt/FileDialog.html#FileDialog(java.awt.Dialog,java.lang.String)">FileDialog(Dialog, String)</a><br><li><a href="../../../api/java/awt/FileDialog.html#FileDialog(java.awt.Dialog,java.lang.String,int)">FileDialog(Dialog, String, int)</a></ul></blockquote><h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4691481.html"> <b>4691481</b></a>:Updated spec for Robot.createScreenCapture</h3><blockquote>Previously, the documentation for Robot.createScreenCapture didn'tmention that the mouse cursor is not included in the captured image.This has always been true of Solaris, Linux, Windows and Mac OS X.The documentation has been updated to reflect this information.</blockquote><h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4704042.html"> <b>4704042</b></a>:New method for setting Insets</h3><blockquote>A single method to set Insets has been added:<a href="../../../api/java/awt/Insets.html#set(int, int, int, int)">set(int, int, int, int)</a>.</blockquote><h3><ahref="http://developer.java.sun.com/developer/bugParade/bugs/4492739.html"> <b>4492739</b></a>:Clarify InputEvent.ALT_MASK/BUTTON2_MASK and META_MASK/BUTTON3_MASK doc</h3><blockquote>There is an overlap in the values for some of the InputEvent constants.This is confusing because when calling KeyEvent.getModifiersExText(int)and MouseEvent.getMouseEventModifiersText(int) the string returned forKeyEvent.BUTTON2_MASK is "Alt" and the string returned forKeyEvent.BUTTON3_MASK is "Meta". For this release, documentation wasadded to the InputEvent, KeyEvent and MouseEvent classes to clarify this.</blockquote></blockquote><a name=knownBugs><h2>Known Bugs and Issues</h2></a><blockquote>Here is a list of known problems you may encounter in release 1.5.<h3>Metacity versioning</h3><blockquote>We recommend using the latest build of Metacity (which is currently2.6.2). There were some bugs that occurred with versions priorto 2.4.34 (problems with programmatic iconification, and non-resizableframes, for example) that have since been fixed.</blockquote><h3>Focus bugs when running applets</h3><blockquote>There were focus-related bugs noticeable when running appletsin Mozilla in release 1.4.2 and earlier. This includes:<ul><li><a href="http://developer.java.sun.com/developer/bugParade/bugs/4907493.html"> <b>4907493</b></a>:Input focus not working with multiple applets<li><a href="http://developer.java.sun.com/developer/bugParade/bugs/4902616.html"> <b>4902616</b></a>:The characters of a text field can't delete when doing Java Plug-in test<li><a href="http://developer.java.sun.com/developer/bugParade/bugs/4877530.html"> <b>4877530</b></a>:Unable to input text into JTextField in 1.4.1_02<li><a href="http://developer.java.sun.com/developer/bugParade/bugs/4806274.html"> <b>4806274</b></a>:The requestFocus method doesn't bring focus to the component on Netscape 7 onSolaris<li><a href="http://developer.java.sun.com/developer/bugParade/bugs/4816394.html"> <b>4816394</b></a>:Can't input anything to SpreadSheet<li><a href="http://developer.java.sun.com/developer/bugParade/bugs/4837794.html"> <b>4837794</b></a>:Can't input charact to login AnswerCenter with Java applet<li><a href="http://developer.java.sun.com/developer/bugParade/bugs/4902609.html"> <b>4902609</b></a>:Tab key can't work when doing Java test case </ul>To solve this problem, the client side of the XEmbed protocol was implemented:<ul><li><a href="http://developer.java.sun.com/developer/bugParade/bugs/4849238.html"> <b>4849238</b></a>:Add XEmbed support to AWT<li><a href="http://developer.java.sun.com/developer/bugParade/bugs/4907325.html"> <b>4907325</b></a>:XEmbed should be implemented for the Motif toolkit</ul>However, the browser should support the server side of XEmbed in orderfor it to work. We recommend using the following browsers with Java:<ul><li>On Linux, Mozilla community edition at least version 1.5 or higher.<li>On Solaris, Sun Mozilla at least version 1.4 or higher.</ul></blockquote><h3></blockquote><!-- ============================================================== --><HR SIZE=3 NOSHADE><TABLE summary="layout" BORDER="0" WIDTH="100%"><TR VALIGN=TOP><TD><P><FONT SIZE="-2"> <A HREF="../../../relnotes/SMICopyright.html">Copyright ©</A> 2001 <A HREF="http://www.sun.com/">Sun Microsystems, Inc.</A> All Rights Reserved.</FONT></P> <br><FONT SIZE="-1">Please send comments to:<a href="mailto:java-awt@java.sun.com">java-awt@java.sun.com</a></FONT></TD><TD ALIGN=RIGHT> <IMG SRC="../../../images/sunlogo64x30.gif" ALT="Sun" BORDER=0 WIDTH=64 HEIGHT=30></TD></TR></TABLE> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -