[cp-patches] FYI: MetalLookAndFeel.setCurrentTheme

2005-09-23 Thread David Gilbert
The 1.5.0 spec states that this method should throw a NullPointerException if the supplied theme is null: 2005-09-23 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalLookAndFeel.java (setCurrentTheme): throw exception if argument is null, improved API do

[cp-patches] FYI: SwingUtilities.layoutCompoundLabel fixup

2005-09-23 Thread Roman Kennke
The layoutCompoundLabel method (used by many Swing components) had a bug that could lead to invisible labels. This was the case when the verticalTextPosition is set to BOTTOM and there is no icon. In this case the method laid out the label at a negative position, thus shifting it outside of the vie

[cp-patches] FYI: Implemented BasicColorChooserUI.uninstallDefaultChoosers

2005-09-23 Thread Roman Kennke
I implemented one missing method in BasicColorChooserUI. 2005-09-23 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicColorChooserUI.java (uninstallDefaultChoosers): New method. (uninstallUI): Call uninstallDefaultChoosers. /Roman Index: javax/swing/plaf/ba

[cp-patches] FYI: MetalBorders.OptionDialogBorder

2005-09-23 Thread David Gilbert
I committed this patch to implement one of the missing borders: 2005-09-23 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalBorders.java (OptionDialogBorder): new class. Regards, Dave Gilbert Index: javax/swing/plaf/metal/MetalBorders.java ==

[cp-patches] FYI: Fixed typo in BasicDesktopPaneUI

2005-09-23 Thread Roman Kennke
The method registerKeyboardAction should actually be named registerKeyboardActions. I fixed this. 2005-09-23 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicDesktopPaneUI.java (registerKeyboardAction): Renamed this method to registerKeyboardActions as spec

[cp-patches] FYI: Additions to BasicListUI

2005-09-23 Thread Roman Kennke
I added the missing fields and methods to BasicListUI. These are a bunch of hook methods to create listeners and some constants used for the storing state changes of the JList. 2005-09-23 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicListUI.java (FocusHandler.re

[cp-patches] FYI: BasicDesktopPaneUI fixlet

2005-09-23 Thread Roman Kennke
In my last commit I renamed the method registerKeyboardAction, but forgot to change the call of this method. Also fixed. 2005-09-23 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicDesktopPaneUI.java (installKeyboardActions): Call renamed method registerKeyboardAct

[cp-patches]: Patch: BasicTreeUI fix

2005-09-23 Thread Lillian Angel
2005-09-23 Lillian Angel <[EMAIL PROTECTED]> Fixes Bug #24022 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Took out unneeded code. Index: javax/swing/plaf/basic/BasicTreeUI.java === RCS file: /cvsroot/

[cp-patches]: Patch: Scrollbar fix

2005-09-23 Thread Lillian Angel
2005-09-23 Lillian Angel <[EMAIL PROTECTED]> Fixes Bug #23529 * javax/swing/plaf/basic/BasicScrollBarUI.java (mousepressed): Made delay shorted while pressing the arrow button. This makes the scrollbar move more smoothly. (mouseReleased): Reset the delay t

[cp-patches] FYI: BasicInternalFrameUI fixlet

2005-09-23 Thread Roman Kennke
Here comes a tiny fix for BasicInternalFrameUI. 2005-09-23 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicInternalFrameUI.java (deactivateFrame): New method. (InternalFramePropertyChangeListener.propertyChange): Call new deactivate() method instea

[cp-patches] FYI: BasicMenuUI additions

2005-09-23 Thread Roman Kennke
I added some deprecated and unused fields to BasicMenuUI to remove some clutter from the JAPI pages. 2005-09-23 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicMenuUI.java (ChangeHandler): Added some deprecated and unused fields for binary compatibility.

[cp-patches] BasicOptionPaneUI cleanup

2005-09-23 Thread Roman Kennke
Looks like most of the JAPI failures for javax.swing.plaf.basic are quite trivial, typos, deprecated or misunderstood stuff and such. So here comes a little cleanup for BasicOptionPaneUI. 2005-09-23 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicOptionPaneUI.java

[cp-patches] FYI: DefaultComboBoxModel

2005-09-23 Thread David Gilbert
I committed this patch. The changes to DefaultComboBoxModel are backed by a raft of Mauve tests. The change to MetalComboBoxButton protects against a possible NullPointerException: 2005-09-23 David Gilbert <[EMAIL PROTECTED]> * javax/swing/DefaultComboBoxModel.java (Default

[cp-patches] FYI: BasicPanelUI fixup

2005-09-23 Thread Roman Kennke
Here I add two little methods to BasicPanelUI that provide a hook for uninstalling UI defaults. 2005-09-23 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicPanelUI.java (uninstallUI): New method. (uninstallDefaults): New method. /Roman Index: javax/swing/p

[cp-patches]: Patch: toolTip painting fix.

2005-09-23 Thread Lillian Angel
2005-09-23 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/ToolTipManager.java (showTip): Set lightWeightPopupEnabled to default. Validated and repainted new containerPanel and repainted toolTipWindow and repainted currentTip. The toolTips paint well now.

[cp-patches]: Patch: BasicTreeUI fix

2005-09-23 Thread Lillian Angel
2005-09-23 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicTreeUI.java (paintRecursive): Changed clip to be the visible rectangle of the view. Index: javax/swing/plaf/basic/BasicTreeUI.java =

[cp-patches] FYI: JScrollPane fixup

2005-09-23 Thread Roman Kennke
Hi, the JAPI pages pointed me to JScrollPane and the BasicScrollPaneUI. Obviously the implementation has been a little wrong here. There was a lot of logic implemented in JScrollPane that should have been implemented in BasicScrollPaneUI. I move the bits over and added some stuff so now the BasicS

[cp-patches] Patch: Component fix

2005-09-23 Thread Lillian Angel
The change in Component passed the mauve tests. 2005-09-23 Lillian Angel <[EMAIL PROTECTED]> * java/awt/Component.java (getFont): Should return null, not a default font. * javax/swing/ToolTipManager.java (showTip): Called revalidate currentTip before painted, and

[cp-patches] FYI: removed debug code from SwingUtilities

2005-09-23 Thread Roman Kennke
Andreas Tobler pointed out that I accidentally left some debug code in SwingUtilities. I removed that. 2005-09-23 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/SwingUtilities.java (layoutCompoundLabel): Removed debug code. /Roman Index: javax/swing/SwingUtilities.java

[cp-patches] FYI: GdkGraphics2D.setFont fixlet

2005-09-23 Thread Roman Kennke
Lillians last patch caused an NPE with Graphics2D enabled. The reason is that Graphics.setFont should actually accept null fonts without complaining and siomply leave the current font setting unchanged. I fixed this. 2005-09-23 Roman Kennke <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/Gd

[cp-patches] FYI: JTextField reformatted and added API docs

2005-09-23 Thread Anthony Balkissoon
Like the subject says, plus I added some FIXME comments as I went through the O'Reilly Swing book and noted some places where our implementation differs from what the book says. I'll investigate these myself later. 2005-09-23 Anthony Balkissoon <[EMAIL PROTECTED]> * javax/swing/JTextFi

[cp-patches] FYI: Missing outputstreamwriter constructors added

2005-09-23 Thread Sven de Marothy
2005-09-23 Sven de Marothy <[EMAIL PROTECTED]> * java/io/OutputStreamWriter.java: (OutputStreamWriter): Added missing constructors. Index: java/io/OutputStreamWriter.java === RCS file: /cvsroot/classpath/classpath/

[cp-patches] FYI: Some imageio stuff.

2005-09-23 Thread Sven de Marothy
I hacked up this BMP-reader plugin before, but haven't really touched it for a while. Works, but still needs some cleaning up and fleshing-out. 2005-09-24 Sven de Marothy <[EMAIL PROTECTED]> * gnu/javax/imageio/bmp/BMPDecoder.java, * gnu/javax/imageio/bmp/BMPImageReaderSpi.java

[cp-patches] FYI: Missing fontmetrics methods.

2005-09-23 Thread Sven de Marothy
2005-09-24 Sven de Marothy <[EMAIL PROTECTED]> * java/awt/FontMetrics.java (getMaxCharBounds, hasUniformLineMetrics): New methods. Index: java/awt/FontMetrics.java === RCS file: /cvsroot/classpath/classpath