CHANGES SINCE THE PREVIOUS RELEASE This file summarizes changes made since Swing 1.1 Beta 2. Documentation improvements and look-and-feel cosmetic changes are not listed here. For the latest, detailed information about Swing, be sure to check our Web site, The Swing Connection: http://java.sun.com/products/jfc/tsc/ This file has the following sections: - New Package Names - Bug Fixes ================= New Package Names ================= As previously announced, the names of the Swing packages have changed in this release. The new package names will be used both in Swing 1.1 releases and in JDK 1.2 releases. A tool to help you convert to the new package names is available at this URL: http://java.sun.com/products/jfc/PackageRenamer/ The following table shows how package names have changed. Old Name New Name -------- -------- com.sun.java.accessibility javax.accessibility com.sun.java.swing javax.swing com.sun.java.swing.border javax.swing.border com.sun.java.swing.colorchooser javax.swing.colorchooser com.sun.java.swing.event javax.swing.event com.sun.java.swing.filechooser javax.swing.filechooser com.sun.java.swing.plaf javax.swing.plaf com.sun.java.swing.plaf.basic javax.swing.plaf.basic com.sun.java.swing.plaf.metal javax.swing.plaf.metal com.sun.java.swing.plaf.multi javax.swing.plaf.multi com.sun.java.swing.table javax.swing.table com.sun.java.swing.text javax.swing.text com.sun.java.swing.text.html javax.swing.text.html com.sun.java.swing.tree javax.swing.tree com.sun.java.swing.undo javax.swing.undo The following package names are unchanged: com.sun.java.swing.plaf.motif com.sun.java.swing.plaf.windows ========= Bug Fixes ========= This list contains some bug fixes that only apply to the final release of JDK 1.2. You can view the full text of any bug report with the Java Developer Connection Bug Parade. For more information, follow the "Bug Parade" link on http://developer.java.sun.com. 4107225 RFE: Text components should use on-the-spot composition with input methods 4109203   in JEditorPane 4110084 Unusual example means that JPopupMenu is not visible 4110134 DefaultStyledDocument in JtextPane not redrawing properly 4110200 Motif Sticky Menus not working as expected 4111375 JPopupMenu.setVisible(boolean) throws unexpected NullPointerException 4113671 Menu event duplication when popping up Motif L&F menu 4116172 Win32 build of swing-1.1 target -- questionable CLASSPATH setting 4116278 Not able to change L&F when using Box.createGlue() with JMenuBar 4117786 Need to copy doc-files to 1.2 swing workspace 4118747 Internal input dialog: Selection problem in poped up JComboBox 4124702 Swing makefile does not build directories correctly 4127970 JPopupMenu.setDefaultLightWeightPopupEnabled(false) doesn't work 4129098 sw1.0: Changing the background color of a JTextField does not show up immediately 4129260 JMenu / JInternalFrame problems 4129617 Swing applet doesn't repaint JSlider applet correctly when resized 4131281 WindowNT,motif: While moving JFrame with mouse, a button in toolbar is selected 4131886 Within JTextArea's document - horizontal JScrollBar is not activated properly 4133140 JTextPane horizontal scrolling not working 4133194 Tab traversal bug sample code 4133354 IOException in RTFEditorKit 4135355 stylesheet.css missing from api/doc 4136522 Rollover-feature of JButton doesn't work anymore in swing-1.0.2 4136568 JEditorPane doesn't remove fields from previously viewed HTML pages 4144415 JPopupMenu ignores dialog modality when choosing popup type 4145218 JTabbedPanes return wrong size for AWT children 4145424 changing ComboBoxModel does not visibly change JComboBox 4146684 Closing a window by a lightweight menu causes error. 4148748 Bidi Element Structure in AbstractDocument grows too big 4149144 HTML viewer component doesn't seem to recognize all ISO Latin-1 character set 4150227 several selection problems with JText widgets 4150238 JSlider cuts off large labels 4151835 JFileChooser/JColorChooser/JOptionPane must be internationalized 4152057 1.2Beta4-J:
region 4167248 Contents of JFrame mis-aligned when minimized/maximized 4167396 Changing JTree's display font to large size, it does not work well. 4167684 Moving between applet - nonapplet - applet pages causes applet to freeze(FCS-F) 4167813 Combo box arrow disappears 4167841 BoxView's getResizeWeight() method throws NullPointerException 4167902 AbstractAction.putValue(...) implementation is incorrect. 4167917 Regression: JSeparator.setOrientaion() requires repaint() for visual change 4168158 Constructor GapContent(int i) throws NPE when i = 1 4168325 Sliders don't work properly in builder tools 4168483 Mediumweight popup problem on Solaris 4168561 Motif look and feel caret isn't completely redrawn 4168710 Javadoc for JComponent has link to doc_files/package.html which doesn't exist 4169165 Swing 1.1b2 Look&Feel changed kill JInternalFrame layering 4169236 L10N: JFileChooser is missing L&F Specific Strings 4169490 JMenu's method remove(JMenuItem mi) throws NPE 4169679 DefaultTreeCellRenderer.paint needs to check for null border selection color 4169923 JPopupMenu doesn't stay up 4170004 Notepad & Stylepad examples should use JLF icons 4170786 JDK is missing accessibility.AccessibleResourceBundle class 4170868 On-the-spot pre-editing causes exception in HTML document 4170871 The position of the candidate list window is wrong 4170904 Build warnings in nightly build 4170915 swing.text.PlainDocument should use AbstractDocument.createLeafElement() method 4171254 JMenu.setEnabled(false) doesn't work properly 4171588 Button Labels on JOptionPane is not correct in ja locale 4171983 Cannot delete text in JPasswordField in beta 4.1 4172050 In solaris, highlight string make caret invisible in JTextComponent 4172235 Basic class depends on Windows class 4172751 IntrospectionException trying to load swingall.jar from swing-1.1beta3 4173054 broken links in Swing API docs 4173482 JTextComponent doesn't interprit Unicode directional marks correctly 4174543 JTree throws InternalError exception after being serialized 4174856 Custom caret is not redrawn in JTextPane