[cp-patches] FYI:

2006-03-25 Thread Raif S. Naffah
hello there, the attached patch --already committed-- adds write methods to some pkcs7 classes needed for the jarsigner tool. it also adds some debugging methods to the DSA key classes. finally it removes the DSAParameterGenerator class from the gnu/java/security/provider sub-package. excep

[cp-patches] FYI:

2006-05-19 Thread Raif S. Naffah
hello all, the attached patch --already committed-- ensures that some methods in the GKR KeyStore Adapter class follow the RI's published API. a Mauve test has been added to validate these changes: gnu.testlet.gnu.javax.crypto.jce.keyring.TestOfKeystore 2006-05-20 Raif S. Naffah <[EMAIL PR

[cp-patches] FYI:

2006-11-03 Thread Roman Kennke
This adds support for embedding CSS stylesheets in a

[cp-patches] FYI:

2005-05-04 Thread Roman Kennke
Hi there, I fixed another bug. This bug has led multiline TextComponents to render the first line of text oevr and over again, instead of the correct lines. 2005-05-04 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/text/PlainView.java (drawUnselectedText): Call Utilities.drawTabbedText()

[cp-patches] FYI: PlainDocument.insertUpdate

2006-03-05 Thread Robert Schuster
Hi, this patch fixes PR 26194 which made it impossible to enter newlines into JTextAreas. There is a new mauve test which backs this work up. Along with my other small fix to GapContent we now pass every PlainDocument.insertString test. @Mark: Please add this patch to the release branch. 2006-03

[cp-patches] FYI: JPEGHuffmanTable

2006-03-09 Thread Thomas Fitzsimmons
Hi, I committed this patch to HEAD. It is the start of my conversion of Trevor Linton's JPEG code into an ImageIO JPEG plugin. I also committed the corresponding Mauve test, TestJPEGHuffmanTable. Tom 2006-03-10 Thomas Fitzsimmons <[EMAIL PROTECTED]> * javax/imageio/plugins/jpeg/JPEG

[cp-patches] FYI: BasicComboBoxUI

2006-03-17 Thread Roman Kennke
Here comes the BasicComboBoxUI fixes. Again, this is mostly setup of the listeners and UI default initialization changes among lots of small adjustments. 2006-03-17 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicComboBoxUI.java (mouseListener): Removed field.

[cp-patches] FYI: MetalComboBoxEditor

2006-03-17 Thread Roman Kennke
This fixes the border of the metal combobox editor. 2006-03-17 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalComboBoxEditor.java (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder instead of Flush3DBorder. (paintBorder): Fixed bo

[cp-patches] FYI: MetalComboBoxUI

2006-03-17 Thread Roman Kennke
This is the last piece of my ComboBox work. There were some layout glitches in the MetalComboBoxUI that are fixed by the attached patch. 2006-03-17 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalComboBoxUI.java (MetalComboBoxLayoutManager.layoutContainer): Forwar

[cp-patches] FYI: BasicLookAndFeel

2006-03-18 Thread Roman Kennke
Some time ago I added special handling for JPopupMenus to the BasicLookAndFeel so they are autoclosed just like the JMenus. Yesterday I checked in a patch that makes the JPopupMenu handling done in the MenuSelectionManager framework, so this special handling is no longer needed. This should slightl

[cp-patches] FYI: MetalThemeEditor

2006-03-19 Thread Roman Kennke
Some days ago I removed the ColorChooser demo with the promise to write a new one. Here it comes now. I thought it might be nice to have something really useful in the demo ;-) And since I have now also added support for switching Metal themes, I have implemented a little primitive Metal theme edit

[cp-patches] FYI: MetalToggleButtonUI

2006-03-28 Thread Roman Kennke
Just like with the MetalButtonUI, I fixed the conditions under which the MetalToggleButtonUI paints a gradient: - the button's background must be a UIResource, otherwise the application expects the background to be painted. - the button is neither armed nor pressed. in these cases the button is pai

[cp-patches] FYI: BasicTextUI.createKeymap()

2006-03-30 Thread Roman Kennke
I fixed the BasicTextUI.createKeymap() method. This method is only used for backward compatibility though. 2006-03-30 Roman Kennke <[EMAIL PROTECTED]> PR 26045 * javax/swing/plaf/basic/BasicTextUI.java (installKeyboardActions): Simply call getKeymap() and install this.

[cp-patches] FYI: AccessibleJComponent

2006-04-05 Thread Roman Kennke
With the help of BeanShell and the OReilly Swing book I finally implemented most of JComponent's accessibility support (save for the two inner classes of AccessibleJComponent, for which I haven't figured out yet, what they are for). 2006-04-05 Roman Kennke <[EMAIL PROTECTED]> * javax/sw

[cp-patches] FYI: AccessibleAbstractButton

2006-04-06 Thread Roman Kennke
I implemented some more stubs in the AccessibleAbstractButton. 2006-04-06 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/AbstractButton.java (AccessibleAbstractButton.getAccessibleIcon): Implemented stub. (AccessibleAbstractButton.getAccessibleRelationSet): Implemented

[cp-patches] FYI: JComboBox.paramString()

2006-04-18 Thread David Gilbert
This patch (committed) reimplements the paramString() method to provide better debugging information. I also added a couple of API doc comments to methods that needed them: 2006-04-18 David Gilbert <[EMAIL PROTECTED]> * javax/swing/JComboBox.java (paramStr): Reimplemented,

[cp-patches] FYI: Graphics2D

2006-04-21 Thread Roman Kennke
The last evenings I put on my pink eyeglasses and started an implementation of Graphics2D in pure Java. I slapped together an AbstractGraphics2D class which is intented to be used as a starting point for Graphics2D implementation. It implements as much functionality as possible in Java, only relyin

[cp-patches] FYI: BasicStroke

2006-04-24 Thread Roman Kennke
I'm committing this on Sven's behalf: 2006-04-24 Sven de Marothy <[EMAIL PROTECTED]> * gnu/java/awt/java2d/Segment.java: New file. * gnu/java/awt/java2d/CubicSegment.java: New file. * gnu/java/awt/java2d/QuadSegment.java: New file. * gnu/java/awt/java2d/LineSegme

[cp-patches] FYI: appletviewer

2006-05-08 Thread Thomas Fitzsimmons
Hi, I committed the attached patch to add an appletviewer to GNU Classpath. Tom 2006-05-08 Thomas Fitzsimmons <[EMAIL PROTECTED]> * configure.ac: Add support for building appletviewer. * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties: New file.

[cp-patches] FYI: JLabel.paramString()

2006-05-09 Thread David Gilbert
This patch (committed) adds more attribute details to the paramString() method in the JLabel class. I also added two helper methods to SwingUtilities (if there's a better place to put these, let me know and I'll move them): 2006-05-09 David Gilbert <[EMAIL PROTECTED]> * javax/swing/

[cp-patches] FYI: gcjwebplugin

2006-05-09 Thread Thomas Fitzsimmons
Hi, This patch adds gcjwebplugin to GNU Classpath. The plugin is built and installed by default in $HOME/.mozilla/plugins. I also added a --with-vm option that allows one to specify the VM binary used by the tools. It defaults to $prefix/bin/jamvm. Tom 2006-05-09 Thomas Fitzsimmons <[EM

[cp-patches] FYI: SRGBColorModel

2006-05-10 Thread Roman Kennke
Ingo noticed some performance glitches when working with the default RGB color model supplied by ColorModel.getRGBDefault(). This was caused by : - creating a new instance every time - DirectColorModel not optimized for sRGB He wrote a small specialized SRGBColorModel, which directly accesses the

[cp-patches] FYI: PrinterJob

2006-05-10 Thread Sven de Marothy
Thanks to Wolfgang's work, we can eliminate this particular stub: 2006-05-10 Sven de Marothy <[EMAIL PROTECTED]> * java/awt/print/PrinterJob.java: (lookupPrintServices): Un-comment-out. Index: java/awt/print/PrinterJob.java ==

[cp-patches] FYI: BasicPanelUI.java

2006-05-12 Thread David Gilbert
This patch (committed) fixes a couple of minor details in BasicPanelUI.java: 2006-05-12 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicPanelUI.java (sharedUI): New field, (createUI): Return a shared instance rather than a new instance, (installU

[cp-patches] FYI: JCheckBoxMenuItem.paramString()

2006-05-14 Thread David Gilbert
This patch (committed) improves the debug info provided by the paramString() method and adds/updates some API doc comments for some other methods in this class: 2006-05-14 David Gilbert <[EMAIL PROTECTED]> * javax/swing/JCheckBoxMenuItem.java (requestFocus): Fixed typo in API

[cp-patches] FYI: JFileChooser.paramString()

2006-05-14 Thread David Gilbert
This patch (committed) reimplements the paramString() method to provide better debugging info, and adds API docs that were missing for a couple of methods: 2006-05-15 David Gilbert <[EMAIL PROTECTED]> * javax/swing/JFileChooser.java (paramString): Reimplemented, (getAc

[cp-patches] FYI: JTabbedPane.paramString()

2006-05-14 Thread David Gilbert
This patch (committed) reimplements the paramString() method to provide better debugging info: 2006-05-15 David Gilbert <[EMAIL PROTECTED]> * javax/swing/JTabbedPane.java (paramString): Reimplemented, (getAccessibleContext): Added API docs. Regards, Dave Index: javax

[cp-patches] FYI: DefaultButtonModel.setSelected()

2006-05-16 Thread David Gilbert
This patch (committed) clears the ARMED and PRESSED states when the model changes from selected to not selected, to match the behaviour of the reference implementation: 2006-05-16 David Gilbert <[EMAIL PROTECTED]> * javax/swing/DefaultButtonModel.java (setSelected): If new SEL

[cp-patches] FYI: DefaultButtonModel.setGroup()

2006-05-16 Thread David Gilbert
This patch (committed) removes the event notification from the setGroup() method: 2006-05-16 David Gilbert <[EMAIL PROTECTED]> * javax/swing/DefaultButtonModel.java (setGroup): Removed event notification. My Swing book (O'Reilly's Java Swing) lists the fields for which a Chan

[cp-patches] FYI: AbstractWriter

2006-05-19 Thread Sven de Marothy
2006-05-19 Sven de Marothy <[EMAIL PROTECTED]> * javax/swing/text/AbstractWriter.java (getText): Fix parameters (start, length) not (start, end). Index: javax/swing/text/AbstractWriter.java === RCS file: /sources/c

[cp-patches] FYI: AbstractGraphics2D

2006-05-19 Thread Roman Kennke
I did some cleanup and added extensive API docs to the AbstractGraphics2D work, so others can probably play a little with it, while I'm in holiday. Have fun! 2006-05-19 Roman Kennke <[EMAIL PROTECTED]> * gnu/java/awt/java2d/AbstractGraphics2D.java Added class docs. (pixel

[cp-patches] FYI: MinimalHTMLWriter

2006-05-19 Thread Sven de Marothy
Hey, implemented this. It still doesn't work well due to remaining bugs in AbstractWriter, StyledDocument, etc. But it works fine on the JDK. 2006-05-20 Sven de Marothy <[EMAIL PROTECTED]> * javax/swing/text/html/MinimalHTMLWriter.java: New file /* MinimalHTMLWriter.java --

[cp-patches] FYI: Font.getNumGlyphs()

2006-05-20 Thread Sven de Marothy
2006-05-20 Sven de Marothy <[EMAIL PROTECTED]> * java/awt/Font.java (getNumGlyphs): Call correct peer method. Index: java/awt/Font.java === RCS file: /sources/classpath/classpath/java/awt/Font.java,v retrieving rev

[cp-patches] FYI: AccessibleJLabel.getAccessibleRole()

2006-05-22 Thread David Gilbert
This patch (committed) overrides the getAccessibleRole() method in AccessibleJLabel to return the correct role: 2006-05-22 David Gilbert <[EMAIL PROTECTED]> * javax/swing/JLabel.java (AccessibleJLabel.getAccessibleRole): New method (override). Regards, Dave Index: javax/swin

[cp-patches] FYI: DragGestureRecognizer

2006-05-24 Thread Sven de Marothy
I implemented these two missing methods. 2006-05-24 Sven de Marothy <[EMAIL PROTECTED]> * java/awt/dnd/DragGestureRecognizer.java (resetRecognizer): Implement. (fireDragGestureRecognized): Implement. Index: java/awt/dnd/DragGestureRecognizer.java ==

[cp-patches] FYI: CairoSurface.c

2006-05-29 Thread Sven de Marothy
Fix a compiler warning 2006-05-29 Sven de Marothy <[EMAIL PROTECTED]> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c (setPixels): Remove superfluous return statement. Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c ===

[cp-patches] FYI: TexturePaintContext

2006-05-30 Thread Roman Kennke
I implemented a TexturePaintContext using only Java code. This enables the use of textures in AbstractGraphics2D based Java2D stack. The Cairo implementation is not affected by this, it uses the TexturePaint in a different way. I'm thinking that a hook for providing alternative implementations for

[cp-patches] FYI: AccessibleJTableHeaderEntry.getLocale()

2006-05-31 Thread David Gilbert
This patch (committed) implements the getLocale() method in the AccessibleJTableHeaderEntry class: 2006-05-31 David Gilbert <[EMAIL PROTECTED]> * javax/swing/table/JTableHeader.java (getColumnHeaderRenderer): New method, (getAccessibleColumnHeaderRenderer): Delegate pa

[cp-patches] FYI: CairoSurface.setPixels

2006-06-02 Thread Sven de Marothy
I also added checks to CairoSurface.setPixels. Avoid segfaults. Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c === RCS file: /sources/classpath/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,v retri

[cp-patches] FYI: BasicInternalFrameUI

2006-06-06 Thread Roman Kennke
I implemented the two missing methods in BasicInternalFrameUI, installKeyboardActions() and uninstallKeyboardActions(). I found out that the BasicInternalFrameUI installs an action called "showSystemMenu". Interesting is that the MetalInternalFrame seems to set this action to null again (Metal JIn

[cp-patches] FYI: JTree

2006-06-06 Thread Roman Kennke

[cp-patches] FYI: BasicTreeUI

2006-06-07 Thread Roman Kennke
I've implemented a few more methods in BasicTreeUI. 2006-06-07 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicTreeUI.java (completeUIUninstall): Implemented. (uninstallUI): Moved some bits to completeUIUninstall(). Complete editing before uninstal

[cp-patches] FYI: BasicScrollPaneUI.getActionMap()

2006-06-09 Thread David Gilbert
This patch (committed) fixes a cut-and-paste error that sneaked into my earlier patch: 2006-06-09 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicScrollPaneUI.java (getActionMap): Use correct key to store action map. Regards, Dave Index: javax/swing/plaf/basic/BasicScr

[cp-patches] FYI: BasicComboBoxUI

2006-06-14 Thread Roman Kennke
Again, this will make JAPI a little bit more happy. 2006-06-14 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicComboBoxUI.java (getAccessibleChildrenCount): Implemented. (getAccessibleChild): Implemented. (isNavigationKey): Implemented. (Ke

[cp-patches] FYI: JRadioButtonMenuItem

2006-06-15 Thread Tania Bento
Hey, This is another one of the classes that sets 'focusable' to false. I will be committing this and its mauve test immediately after posting this. Cheers, Tania 2006-06-15 Tania Bento <[EMAIL PROTECTED]> * javax/swing/JRadioButtonMenuItem.java (JRadioButtonMenuItem): Should

[cp-patches] FYI: BasicArrowButton

2006-06-15 Thread Tania Bento
Hey, This is another one of the classes that sets 'focusable' to false. I will be committing this and its mauve test immediately after posting this. Cheers, Tania 2006-06-15 Tania Bento <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicArrowButton.java (BasicArrowButt

[cp-patches] FYI: MetalScrollButton

2006-06-15 Thread Tania Bento
Hey, This is the last of the classes that sets 'focusable' to false. I will be committing this and its mauve test immediately after posting this. Cheers, Tania 2006-06-15 Tania Bento <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalScrollButton.java (MetalScrollButto

[cp-patches] FYI: java.awt.GridBagLayout.AdjustForGravity

2006-06-18 Thread Thomas Fitzsimmons
Hi, This implements the last missing 1.1 method, java.awt.GridBagLayout.AdjustForGravity. I committed a corresponding Mauve test. Tom 2006-06-18 Thomas Fitzsimmons <[EMAIL PROTECTED]> * java/awt/GridBagLayout.java (AdjustForGravity): Implement. * java/awt/GridBagConstrain

[cp-patches] FYI: MetalUtils

2006-06-21 Thread Roman Kennke
I implemented the Swing gradient painting on top of the Graphics2D gradient functions. 2006-06-21 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalUtils.java (paintHorizontalGradient): Use paintHorizontalGradient2D when Graphics2D is available. Use fillRect

[cp-patches] FYI: JLabel.setText()

2006-06-22 Thread David Gilbert
This patch (committed) fixes some failing Mauve tests: 2006-06-22 David Gilbert <[EMAIL PROTECTED]> * javax/swing/JLabel.java (getText): Updated API docs, (setText): Corrected the check for an unchanged value, and the update of the displayedMnemonicIndex. Regar

[cp-patches] FYI: BasicInternalFrameUI

2006-06-23 Thread Roman Kennke
I forgot to check in the fixes to BasicInternalFrameUI, that really belong to the previous patch. 2006-06-23 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicInternalFrameUI.java (InternalFramePropertyChangeListener.propertyChange): Don't call getPropertyNa

[cp-patches] FYI: javax.swing.InputMap

2006-07-05 Thread David Gilbert
This patch (committed) fixes a failing test from Intel's test suite and is also backed by some new Mauve tests: 2006-07-05 David Gilbert <[EMAIL PROTECTED]> * javax/swing/InputMap.java (inputMap): Don't initialize yet, (InputMap): Removed TODO, (get): Check for

[cp-patches] FYI: java.util.UUID

2006-07-15 Thread Sven de Marothy
I commited an implementation of this 1.5 class. I'll send a full set of Mauve tests to the mauve list. 2006-07-16 Sven de Marothy <[EMAIL PROTECTED]> * java/util/UUID.java: New file. /* UUID.java -- Class that represents a UUID object. Copyright (C) 2006 Free Software Foundation, I

[cp-patches] FYI: PNGImageReader

2006-07-20 Thread Roman Kennke
Here comes the first part of the ImageIO plugin for PNG, the PNGImageReader and related classes. 2006-07-20 Roman Kennke <[EMAIL PROTECTED]> * gnu/javax/imageio/IIOInputStream.java: New class. Wraps ImageInputStreams as normal InputStreams. * gnu/javax/imageio/gif/GIFS

[cp-patches] FYI: BasicMenuBarUI

2006-07-25 Thread Roman Kennke
I implemented the missing keyboard actions for BasicMenuBarUI. Now it should be possible to bring up the menu using F10. Unfortunately keyboard input seems broken for me so I can't test. 2006-07-25 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicMenuBarUI.java

[cp-patches] FYI: BasicLookAndFeel

2006-07-26 Thread Roman Kennke
These keyboard bindings in BasicLookAndFeel are needed to make my yesterday's patch for BasicPopupMenuUI work. 2006-07-26 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): Add keyboard bindings for PopupMenu. /Rom

[cp-patches] FYI: MetalUtils

2006-07-26 Thread Roman Kennke
For drawing the typical metal pattern (without Graphics2D) we used to drawLine() for filling single pixels. fillRect() is usually faster so I changed that to use fillRect() instead. 2006-07-26 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalUtils.java (fillMeta

[cp-patches] FYI: EmptyAttributeSet

2006-07-27 Thread Roman Kennke
As pointed out by one Mauve test, the SimpleAttributeSet.EMPTY field shouldn't be of the type SimpleAttributeSet, because, in theory, an application could cast to SimpleAttributeSet then and modify this object. I implemented an immutable empty AttributeSet class, which is now used for this fiel

[cp-patches] FYI: Choice.java

2006-08-01 Thread Tania Bento
Hey, This patch modifies the remove(int) method. It now makes classpath pass a couple of failing Intel tests. I have a mauve test for the remove method and will be committing it after I commit this patch. 2006-08-01 Tania Bento <[EMAIL PROTECTED]> * java/awt/Choice.java (rem

[cp-patches] FYI: JFileChooser

2006-08-02 Thread Roman Kennke
Another nice addition: This patch adds indentation of the labels in the combobox that is used to choose directories at the top. I implemented this by installing an IndentIcon in the cell renderer that takes another icon (the folder icon) and adds indentation to it. This fixes a bug and should

[cp-patches] FYI: AccessibleJTextComponent

2006-08-07 Thread Roman Kennke
This implements the missing pieces of AccessibleJTextComponent. 2006-08-05 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/text/JTextComponent.java (AccessibleJTextComponent.dot): Renamed field into caretDot. (AccessibleJTextComponent.textComp): Removed field and

[cp-patches] FYI: JTabbedPane

2006-08-12 Thread Roman Kennke
Another fixlet that helps with jircii. 2006-08-13 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/JTabbedPane.java (JTabbedPane): Call setModel() here and let this install the change listener correctly. (setModel): Correctly uninstall and reinstall ChangeListener

[cp-patches] FYI: MetalBorders.InternalFrameBorder

2005-08-24 Thread David Gilbert
I added an implementation of MetalBorders.InternalFrameBorder: 2005-08-24 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalBorders.java (InternalFrameBorder): implemented. Regards, Dave Gilbert Index: javax/swing/plaf/metal/MetalBorders.java ===

[cp-patches] FYI: MetalTabbedPaneUI

2005-08-30 Thread David Gilbert
I implemented some missing methods in MetalTabbedPaneUI to bring our Metal look and feel a small step closer to looking like the real thing, and added a 'Tab world' item to our Swing demo: 2005-08-30 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalLookAndFeel.java

[cp-patches] FYI: MetalLabelUI

2005-08-30 Thread David Gilbert
I implemented a missing method in MetalLabelUI and updated the defaults in MetalLookAndFeel. This changes the appearance of disabled labels slightly to match Sun's implementation: 2005-08-30 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalLabelUI.java (instan

[cp-patches] FYI: MetalIconFactory.getRadioButtonMenuItemIcon()

2005-08-30 Thread David Gilbert
I committed this patch to add an icon for JRadioButtonMenuItems under the Metal look and feel: 2005-08-30 David Gilbert <[EMAIL PROTECTED]> * examples/gnu/classpath/examples/swing/Demo.java (mkMenuBar): added a JRadioButtonMenuItem, * javax/swing/plaf/metal/MetalIconFa

[cp-patches] FYI: MetalBorders

2005-08-31 Thread David Gilbert
I committed this patch which implements the getTextFieldBorder() method in the MetalBorders class: 2005-08-31 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalBorders.java (textFieldBorder): new field, (Flush3DBorder): new class, (TextFieldBorder

[cp-patches] FYI: BasicLookAndFeel.initComponentDefaults

2005-09-02 Thread David Gilbert
I committed this patch: 2005-09-02 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): set correct value for 'InternalFrame.titleFont'. Regards, Dave Index: javax/swing/plaf/basic/BasicLookAndFeel.java

[cp-patches] FYI: MetalRadioButtonUI.java

2005-09-06 Thread David Gilbert
I committed this patch to add some missing methods to MetalRadioButtonUI: 2005-09-06 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalLookAndFeel.java (initComponentDefaults): added some RadioButton defaults, * javax/swing/plaf/metal/MetalRadioButtonUI.ja

[cp-patches] FYI: BasicLookAndFeel

2005-09-08 Thread David Gilbert
I committed this patch to replace a default that was accidentally removed (and stops the buttons from showing on the scrollbars under the MetalLookAndFeel): 2005-09-09 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): re-

[cp-patches] FYI: MetalInternalFrameUI

2005-09-10 Thread David Gilbert
I committed this patch - it simplifies the createUI method and adds API docs: 2005-09-10 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalInternalFrameUI.java: (instances): removed, (createUI): just return new instance, API docs all over. Regards

[cp-patches] FYI: PaletteCloseIcon

2005-09-10 Thread David Gilbert
I committed this patch to add a new icon to MetalIconFactory: 2005-09-10 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalIconFactory.java (PaletteCloseIcon): new class. Regards, Dave Gilbert Index: javax/swing/plaf/metal/MetalIconFactory.java =

[cp-patches] FYI: MetalBorders.PaletteBorder

2005-09-10 Thread David Gilbert
I committed this patch: 2005-09-10 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalBorders.java (PaletteBorder): new class. Regards, Dave Gilbert Index: javax/swing/plaf/metal/MetalBorders.java ==

[cp-patches] FYI: MetalBorders

2005-09-12 Thread David Gilbert
I committed this patch to implement the getDesktopIconBorder() method and tweak the colors for the line highlights for the InternalFrameBorder: 2005-09-12 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalBorders.java (desktopIconBorder): new private field,

[cp-patches] FYI: MetalIconFactory

2005-09-12 Thread David Gilbert
I committed this patch to update the icon painting depending on the button state, which gives some visual feedback when the user clicks each button: 2005-09-12 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalIconFactory.java (InternalFrameCloseIcon.paintIcon):

[cp-patches] FYI: JComponent.putClientProperty

2005-09-12 Thread David Gilbert
The putClientProperty() method in JComponent should fire a property change event describing the new (or cleared) property. I added a test in Mauve for this, and committed this patch to make it work: 2005-09-12 David Gilbert <[EMAIL PROTECTED]> * javax/swing/JComponent.java (

[cp-patches] FYI: JComboBox

2005-09-13 Thread David Gilbert
I committed this patch (and am about to put the corresponding tests into Mauve): 2005-09-13 David Gilbert <[EMAIL PROTECTED]> * javax/swing/JComboBox.java (getPrototypeDisplayValue): added API docs, (setPrototypeDisplayValue): fire property change event. Regards, Dave

[cp-patches] FYI: BasicComboBoxUI

2005-09-13 Thread David Gilbert
I committed this patch: 2005-09-13 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicComboBoxUI.java (lightHighlight): removed, (installDefaults): only update component attributes if they are tagged with UIResource, initialise button colors from co

[cp-patches] FYI: MetalComboBoxIcon

2005-09-14 Thread David Gilbert
I committed this small change to update the icon color depending on the component state: 2005-09-14 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalComboBoxIcon.java: fixed header, (paintIcon): change color to reflect component state. Regards, Dave Index: jav

[cp-patches] FYI: MetalIconFactory.PaletteCloseIcon

2005-09-14 Thread David Gilbert
This icon class should implement UIResource (as reported by japi), so I fixed it with this patch: 2005-09-14 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalIconFactory.java (PaletteCloseIcon): now implements UIResource. Regards, Dave Gilbert Index: javax/swi

[cp-patches] FYI: ToggleButtonBorder

2005-09-15 Thread David Gilbert
I committed this patch to implement the MetalBorders.ToggleButtonBorder class: 2005-09-15 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalBorders.java (toggleButtonBorder): new private field, (ToggleButtonBorder): new class, (getToggleButtonBorde

[cp-patches] FYI: MetalToggleButtonUI

2005-09-15 Thread David Gilbert
I committed this patch to implement the missing methods in MetalToggleButtonUI.java and get this UI delegate to use the ToggleButtonBorder that I committed earlier: 2005-09-15 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicButtonUI.java (installDefaults): set

[cp-patches] FYI: MetalBorders.ButtonBorder

2005-09-16 Thread David Gilbert
I committed this patch to change the button border when the button is disabled: 2005-09-16 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalBorders.java (ButtonBorder.paintBorder): draw a different border for a disabled button. Regards, Dave Gilbert Ind

[cp-patches] FYI: MetalCheckBoxIcon

2005-09-16 Thread David Gilbert
I committed this patch to change the color of the check mark when the JCheckBox is disabled: 2005-09-16 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalCheckBoxIcon.java (drawCheck): change color according to component state. Regards, Dave Index: javax/swing/

[cp-patches] FYI: MetalIconFactory.RadioButtonIcon

2005-09-16 Thread David Gilbert
I committed this patch to change the color of the selection indicator when the JRadioButton is disabled: 2005-09-16 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalIconFactory.java (RadioButtonIcon.paintIcon): change color of selection indicator accordi

[cp-patches] FYI: ButtonDemo

2005-09-16 Thread David Gilbert
I added a small demo for buttons that I've been using as a test app while working on the MetalLookAndFeel: 2005-09-16 David Gilbert <[EMAIL PROTECTED]> * examples/gnu/classpath/examples/swing/ButtonDemo.java: new file. There is a screen shot here: http://www.object-refinery.com/clas

[cp-patches] FYI: BasicComboBoxRenderer

2005-09-16 Thread David Gilbert
I committed this patch: 2005-09-16 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicComboBoxRenderer.java: updated API docs and minor reformatting. Regards, Dave Index: javax/swing/plaf/basic/BasicComboBoxRenderer.java ==

[cp-patches] FYI: BasicComboBoxUI.getLargestItemSize()

2005-09-18 Thread David Gilbert
The (private) method getLargestItemSize() is a good match for the missing getDisplaySize() method, so I renamed it and made it protected: 2005-09-18 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize): renamed displaySize,

[cp-patches] FYI: BasicComboBoxRenderer

2005-09-18 Thread David Gilbert
I committed this patch to remove the focus border from JComboBoxes under the BasicLookAndFeel - this matches the reference implementation more closely: 2005-09-18 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicComboBoxRenderer.java (BasicComboBoxRenderer): set

[cp-patches] FYI: MetalComboBoxUI

2005-09-19 Thread David Gilbert
I committed this patch which implements most of the missing methods in MetalComboBoxUI. A few changes were needed in BasicComboBoxUI, and there are still some issues to fix, but it mostly works (well enough for others to hack on anyway). I'll continue to work on this, as time permits, during t

[cp-patches] FYI: BasicArrowButton

2005-09-19 Thread David Gilbert
I committed this minor patch: 2005-09-19 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicArrowButton.java (paintTriangle): minor correction to highlight on triangle for disabled buttons. Regards, Dave Index: javax/swing/plaf/basic/BasicArrowButton.java

[cp-patches] FYI: javax.swing.filechooser.FileView

2005-09-19 Thread David Gilbert
I committed this patch (reformatting and API docs): 2005-09-19 David Gilbert <[EMAIL PROTECTED]> * javax/swing/filechooser/FileView.java: Reformatted and added API doc comments. Regards, Dave Index: javax/swing/filechooser/FileView.java ===

[cp-patches] FYI: MetalLookAndFeel

2005-09-20 Thread Roman Kennke
I added some defaults to the MetalLookAndFeel (text field borders). 2005-09-20 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalLookAndFeel.java (initComponentDefault): Added and fixed some UI defaults. /RomanIndex: javax/swing/plaf/metal/MetalLookAndFeel.java ===

[cp-patches] FYI: MetalBorders

2005-09-20 Thread Roman Kennke
I added and fixed some stuff in MetalBorders. 2005-09-20 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalBorders.java (ButtonBorder.paintBorder): Fetch correct color for disabled button border. (getTextFieldBorder): Correctly initialize text field

[cp-patches] FYI: MetalFileChooserUI

2005-09-21 Thread David Gilbert
I started some work on MetalFileChooserUI and have committed the inner classes and methods that I'm confident are complete. The missing pieces mean this class can't be used for anything useful yet, but I think the bits that are complete should be in CVS for others to see and hack on, so here it

[cp-patches] FYI: MetalFileChooserUI

2005-09-21 Thread David Gilbert
I started some work on MetalFileChooserUI and have committed the inner classes and methods that I'm confident are complete. The missing pieces mean this class can't be used for anything useful yet, but I think the bits that are complete should be in CVS for others to see and hack on, so here it

[cp-patches] FYI: javax.swing.filechooser.FileFilter

2005-09-22 Thread David Gilbert
I reformatted this file and added API docs: 2005-09-22 David Gilbert <[EMAIL PROTECTED]> * javax/swing/filechooser/FileFilter.java: reformatted and added API docs. Regards, Dave Index: javax/swing/filechooser/FileFilter.java ===

[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: 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: 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

  1   2   3   4   5   6   7   8   9   10   >