[cp-patches] FYI: DefaultComboBoxModel.java API docs

2005-09-24 Thread David Gilbert
I updated the API docs for this class: 2005-09-24 David Gilbert [EMAIL PROTECTED] * javax/swing/DefaultComboBoxModel.java: updated API docs all over. Regards, Dave Index: javax/swing/DefaultComboBoxModel.java === RCS

[cp-patches] fix one more deprecated gtk issue

2005-09-24 Thread Andreas Tobler
Hello, the attached patch eliminates another deprecated gtk case. It was approved by Tom F, but I missed to commit. Doing it asap. Andreas 2005-09-24 Andreas Tobler [EMAIL PROTECTED] * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c

[cp-patches] FYI: JComponent painting fix

2005-09-24 Thread Roman Kennke
Hi, I fixed the Swing painting a little more. This finally removes the flickers that have been visible from time to time (to be more precise: when the AWT triggers repainting, which is entirely different from when Swing triggers repainting). Effectively, this adds a check in the paint() method

[cp-patches] FYI: DefaultComboBoxModel.addElement()

2005-09-24 Thread David Gilbert
I committed this patch: 2005-09-24 David Gilbert [EMAIL PROTECTED] * javax/swing/DefaultComboBoxModel.java (addElement): always fire event for interval added, and call setSelectedItem() if this is the first item. The new implementation for addElement() that I

[cp-patches] FYI: BasicLookAndFeel addition

2005-09-24 Thread Roman Kennke
Hi, Lillians patch from some days ago triggered an NPE here. Now that Components do not have a default font anymore, some font defaults have to be added to the Swing LFs. Here comes the default for FormattedTextField.font. 2005-09-24 Roman Kennke [EMAIL PROTECTED] *

Re: [cp-patches] FYI: JComponent painting fix

2005-09-24 Thread Andrew Pinski
- in Sun's JDK, _all_ Swing components are doublebuffered-enabled by default Not with Apple's JDK on Mac OS X where the window server handles the double buffer. -- Pinski ___ Classpath-patches mailing list Classpath-patches@gnu.org

[cp-patches] FYI: Java2D vs Swing fix

2005-09-24 Thread Roman Kennke
I tried the Swing demo vs. Java2D (Cairo). This gave me some NPEs that are fixed by this patch. It adds a check in GdkGraphics2D.getClipBounds() so it does not throw an NPE when accessing a null clip and it adds a check in JComponent.paint() so when a null clip is encountered it sets the clip to

[cp-patches] FYI: Font size fields.

2005-09-24 Thread Sven de Marothy
2005-09-24 Sven de Marothy [EMAIL PROTECTED] * java/awt/Font.java Fixed comments. (pointSize): New field. (Font): Set size fields. (getSize, getSize2D): Return size fields. Index: java/awt/Font.java

[cp-patches] FYI: BMPDecoder warnings fixed

2005-09-24 Thread Sven de Marothy
2005-09-24 Sven de Marothy [EMAIL PROTECTED] * gnu/javax/imageio/bmp/BMPDecoder.java (BMPDecoder): Fix static field references. Index: gnu/javax/imageio/bmp/BMPDecoder.java === RCS file:

[cp-patches] [generics] Patch: FYI: first draft of Formatter

2005-09-24 Thread Tom Tromey
I'm checking this in on the generics branch. This adds the new Formatter class. It is not nearly complete, but is capable of doing some simple formatting. Essentially the full decimal, floating point, and date/time formatting remains to be written. I have a test case for this but haven't yet