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: layout text in the wrong position 4152211 JEditorPane or HTMLEditorKit should be aware of HTML charactor encoding 4152233 JOptionPane: JOptionPane UI must be internationalized 4153383 There should be a JPopupMenu.add(String) 4153384 JMenu.add(String should return JMenuItem 4154028 JSlider.setInverted() has no visual effect on JSlider; repaint() is needed 4154442 JSlider.setMajorTickSpacing() has no visual effect on JSlider 4154668 setLienWrap on JTextArea raises exception in Box layout computation 4156290 Editable JComboBox edit doesn't end correctly 4159524 html component throws unexpected exceptions 4160735 AncestorNotifier.propertyChange() throws NullPointerException 4161052 Windows L+F: F2 in JTree should put tree item in edit mode (if editable) 4162857 JDK1.2FCS-D : access denied exception in swing colorchoser 4163212 JInternalFrame.getForeground() causes infinite loop when foreground is null 4163448 SwingGraphics needs to override ALL Graphics methods 4163591 DefaultTreeCellRenderer getDefaultXXXIcon() methods work wrong 4163682 JComboBox click-release-click doesn't work when editable and Windows L&F 4164005 JComboBox selected item not repainted on model change 4164876 1.2FCS-E: illegalAccessError on com.sun.java.swing.text.html.CommentView class 4164887 JDK1.2FCS-E: HTMLDocument api doc was not created properly 4164903 JTextField used with JTabbedPane and JSplitPane does not call Listener 4165134 1.2FCS-E:illegalAccessError on com.sun.java.swing.text.html.HiddenTagView class 4165211 DirectoryComboBoxModel() in MetalFileChooserUI assumes that all objs are io.file 4165228 JDK1.2FCS-E: Serialization bug on JTextComponent extended classes 4165632 SwingSet runnit.bat broken on Windows 95 in swing-1.1beta2 4165648 Swing-1.1beta2 - JComboBox with Motif L&F has problems with posting menus 4165693 Swing-1.1beta2 - SwingSetApplet throws exceptions in IE4 on WinNT 4165700 Missing files from API docs 4165857 Metal Tree Icons draw wrong in large font themes 4165970 BasicArrowButtons don't highlight when pressed 4165977 Motif Combo Box's keyboard navigation is broken 4165987 Applications need lightweight keyboard navigation of combo boxes 4166059 can't remove the preview panel in a color chooser. 4166060 javadoc missing for Swing's colorchooser package... 4166224 L&F change/init can cause mutliple active InternalFrames 4166242 html updates should update bidi structure 4166316 getSystemLookAndFeelClassName() doesn't work on Mac 4166332 InternalFrameListener does not receive "Opened" or "Closing" events 4166778 The name of class JEditorPane.JEditorPaneAccesssibleHypertextSupport has typo 4166810 NullPointerException in BasicSplitPaneUI if no components 4166858 addColorChooserPanel method results in NullPointerException 4166962 JEditorPane can't display non-Latin1 character in
 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