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
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
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
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
==
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
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
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
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/
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
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
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.
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
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
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
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.
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
=
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
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
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
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
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
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/
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
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
24 matches
Mail list logo