[Patch] swing update
Michael Koch
konqueror@gmx.de
Wed Apr 27 18:03:00 GMT 2005
Hi list,
I just merged the attached patch from GNU classpath to HEAD to get the
latest SWING fixes from Roman Kennke.
Michael
2005-04-27 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicScrollBarUI
(getThumbBounds): Do not make thumb smaller than
minimumThumbSize.
* javax/swing/plaf/metal/MetalLookAndFeel
(initComponentDefaults): Added color defaults for ScrollBar.
* javax/swing/plaf/metal/MetalScrollBarUI
(paintThumb): Added.
(getMinimumThumbSize): Added.
2005-04-27 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalLookAndFeel
(initComponentDefaults): Added some default colors.
2005-04-27 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicScrollBarUI.java
(configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
to 'ScrollBar.thumbShadow'. The formes does not exist.
(paintThumb): Use BasicGraphicsUtils for painting the thumb.
2005-04-27 Roman Kennke <roman@kennke.org>
* java/awt/MediaTracker.java: Added 2005 to copyright statement.
* javax/swing/BoxLayout.java: Likewise.
* javax/swing/UIManager.java: Likewise.
* javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
* javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
* javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
* javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
* javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
* javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
* javax/swing/text/Document.java: Likewise.
* javax/swing/text/GapContent.java: Likewise.
* javax/swing/text/SimpleAttributeSet.java: Likewise.
* javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
2005-04-27 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicToggleButtonUI.java:
(getPropertyPrefix): Added.
2005-04-27 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicButtonUI.java
(getPropertyPrefix): Added.
(installDefaults): Use getPropertyPrefix instead of hard-coded
prefix.
2005-04-27 Roman Kennke <roman@kennke.org>
* javax/swing/JToggleButton.java
(JToggleButton): Removed horizontalAlignment setting, this
was wrong. Added setting of an actionCommand, ToggleButtons
have "" as default actionCommand.
-------------- next part --------------
Index: java/awt/MediaTracker.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/MediaTracker.java,v
retrieving revision 1.8
diff -u -r1.8 MediaTracker.java
--- java/awt/MediaTracker.java 19 Apr 2005 05:13:47 -0000 1.8
+++ java/awt/MediaTracker.java 27 Apr 2005 17:51:52 -0000
@@ -1,5 +1,5 @@
/* MediaTracker.java -- Class used for keeping track of images
- Copyright (C) 1999, 2002i, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: javax/swing/BoxLayout.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/BoxLayout.java,v
retrieving revision 1.6
diff -u -r1.6 BoxLayout.java
--- javax/swing/BoxLayout.java 25 Apr 2005 19:36:33 -0000 1.6
+++ javax/swing/BoxLayout.java 27 Apr 2005 17:51:52 -0000
@@ -1,5 +1,5 @@
/* BoxLayout.java -- A layout for swing components.
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: javax/swing/JToggleButton.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/JToggleButton.java,v
retrieving revision 1.10
diff -u -r1.10 JToggleButton.java
--- javax/swing/JToggleButton.java 17 Feb 2005 07:48:52 -0000 1.10
+++ javax/swing/JToggleButton.java 27 Apr 2005 17:51:52 -0000
@@ -243,9 +243,9 @@
{
super(text, icon);
- horizontalAlignment = LEADING;
setModel(new ToggleButtonModel());
model.setSelected(selected);
+ model.setActionCommand("");
}
/**
Index: javax/swing/UIManager.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/UIManager.java,v
retrieving revision 1.14
diff -u -r1.14 UIManager.java
--- javax/swing/UIManager.java 19 Apr 2005 06:36:27 -0000 1.14
+++ javax/swing/UIManager.java 27 Apr 2005 17:51:52 -0000
@@ -1,5 +1,5 @@
/* UIManager.java --
- Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: javax/swing/plaf/basic/BasicButtonListener.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicButtonListener.java,v
retrieving revision 1.6
diff -u -r1.6 BasicButtonListener.java
--- javax/swing/plaf/basic/BasicButtonListener.java 22 Apr 2005 18:31:28 -0000 1.6
+++ javax/swing/plaf/basic/BasicButtonListener.java 27 Apr 2005 17:51:52 -0000
@@ -1,5 +1,5 @@
/* BasicButtonListener.java --
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: javax/swing/plaf/basic/BasicButtonUI.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicButtonUI.java,v
retrieving revision 1.15
diff -u -r1.15 BasicButtonUI.java
--- javax/swing/plaf/basic/BasicButtonUI.java 20 Apr 2005 05:47:51 -0000 1.15
+++ javax/swing/plaf/basic/BasicButtonUI.java 27 Apr 2005 17:51:52 -0000
@@ -107,17 +107,29 @@
textShiftOffset = defaultTextShiftOffset;
}
+ /**
+ * Returns the prefix for the UI defaults property for this UI class.
+ * This is 'Button' for this class.
+ *
+ * @return the prefix for the UI defaults property
+ */
+ protected String getPropertyPrefix()
+ {
+ return "Button";
+ }
+
protected void installDefaults(AbstractButton b)
{
UIDefaults defaults = UIManager.getLookAndFeelDefaults();
- focusColor = defaults.getColor("Button.focus");
- b.setForeground(defaults.getColor("Button.foreground"));
- b.setBackground(defaults.getColor("Button.background"));
- b.setMargin(defaults.getInsets("Button.margin"));
- b.setBorder(defaults.getBorder("Button.border"));
- b.setIconTextGap(defaults.getInt("Button.textIconGap"));
+ String prefix = getPropertyPrefix();
+ focusColor = defaults.getColor(prefix + ".focus");
+ b.setForeground(defaults.getColor(prefix + ".foreground"));
+ b.setBackground(defaults.getColor(prefix + ".background"));
+ b.setMargin(defaults.getInsets(prefix + ".margin"));
+ b.setBorder(defaults.getBorder(prefix + ".border"));
+ b.setIconTextGap(defaults.getInt(prefix + ".textIconGap"));
b.setInputMap(JComponent.WHEN_FOCUSED,
- (InputMap) defaults.get("Button.focusInputMap"));
+ (InputMap) defaults.get(prefix + ".focusInputMap"));
b.setOpaque(true);
}
Index: javax/swing/plaf/basic/BasicGraphicsUtils.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicGraphicsUtils.java,v
retrieving revision 1.11
diff -u -r1.11 BasicGraphicsUtils.java
--- javax/swing/plaf/basic/BasicGraphicsUtils.java 20 Apr 2005 05:47:54 -0000 1.11
+++ javax/swing/plaf/basic/BasicGraphicsUtils.java 27 Apr 2005 17:51:52 -0000
@@ -1,5 +1,5 @@
/* BasicGraphicsUtils.java
- Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: javax/swing/plaf/basic/BasicLookAndFeel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicLookAndFeel.java,v
retrieving revision 1.15
diff -u -r1.15 BasicLookAndFeel.java
--- javax/swing/plaf/basic/BasicLookAndFeel.java 25 Apr 2005 19:36:35 -0000 1.15
+++ javax/swing/plaf/basic/BasicLookAndFeel.java 27 Apr 2005 17:51:52 -0000
@@ -1,5 +1,5 @@
/* BasicLookAndFeel.java --
- Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: javax/swing/plaf/basic/BasicMenuItemUI.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicMenuItemUI.java,v
retrieving revision 1.10
diff -u -r1.10 BasicMenuItemUI.java
--- javax/swing/plaf/basic/BasicMenuItemUI.java 25 Apr 2005 19:36:35 -0000 1.10
+++ javax/swing/plaf/basic/BasicMenuItemUI.java 27 Apr 2005 17:51:52 -0000
@@ -1,5 +1,5 @@
/* BasicMenuItemUI.java --
- Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: javax/swing/plaf/basic/BasicScrollBarUI.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicScrollBarUI.java,v
retrieving revision 1.13
diff -u -r1.13 BasicScrollBarUI.java
--- javax/swing/plaf/basic/BasicScrollBarUI.java 26 Apr 2005 18:57:35 -0000 1.13
+++ javax/swing/plaf/basic/BasicScrollBarUI.java 27 Apr 2005 17:51:53 -0000
@@ -499,7 +499,7 @@
thumbColor = defaults.getColor("ScrollBar.thumb");
thumbHighlightColor = defaults.getColor("ScrollBar.thumbHighlight");
thumbDarkShadowColor = defaults.getColor("ScrollBar.thumbDarkShadow");
- thumbLightShadowColor = defaults.getColor("ScrollBar.thumbLightShadow");
+ thumbLightShadowColor = defaults.getColor("ScrollBar.thumbShadow");
}
/**
@@ -743,7 +743,8 @@
thumbRect.x += (value - min) * trackRect.width / (max - min);
thumbRect.y = trackRect.y;
- thumbRect.width = extent * trackRect.width / (max - min);
+ thumbRect.width = Math.max(extent * trackRect.width / (max - min),
+ getMinimumThumbSize().width);
thumbRect.height = trackRect.height;
}
else
@@ -752,7 +753,8 @@
thumbRect.y = trackRect.y + value * trackRect.height / (max - min);
thumbRect.width = trackRect.width;
- thumbRect.height = extent * trackRect.height / (max - min);
+ thumbRect.height = Math.max(extent * trackRect.height / (max - min),
+ getMinimumThumbSize().height);
}
return thumbRect;
}
@@ -1034,53 +1036,15 @@
*/
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds)
{
- Color saved = g.getColor();
- Point x;
- Point y;
- Point z;
- Polygon lines;
-
- g.setColor(thumbHighlightColor);
- x = new Point(thumbBounds.x + 1, thumbBounds.y + 1);
- y = new Point(x);
- y.translate(thumbBounds.width - 2, 0);
- z = new Point(x);
- z.translate(0, thumbBounds.height - 2);
-
- lines = new Polygon(new int[] { x.x, y.x, z.x },
- new int[] { x.y, y.y, z.y }, 3);
-
- g.drawPolygon(lines);
-
- g.setColor(thumbLightShadowColor);
- x = new Point(thumbBounds.x + thumbBounds.width - 1,
- thumbBounds.y + thumbBounds.height - 1);
- y = new Point(x);
- y.translate(-(thumbBounds.width - 2), 0);
- z = new Point(x);
- z.translate(0, -(thumbBounds.height - 2));
-
- lines = new Polygon(new int[] { x.x, y.x, z.x },
- new int[] { x.y, y.y, z.y }, 3);
- g.drawPolygon(lines);
-
- g.setColor(thumbDarkShadowColor);
- x = new Point(thumbBounds.x + thumbBounds.width,
- thumbBounds.y + thumbBounds.height);
- y = new Point(x);
- y.translate(-thumbBounds.width, 0);
- z = new Point(x);
- z.translate(0, -thumbBounds.height);
-
- lines = new Polygon(new int[] { x.x, y.x, z.x },
- new int[] { x.y, y.y, z.y }, 3);
- g.drawPolygon(lines);
-
g.setColor(thumbColor);
g.fillRect(thumbBounds.x, thumbBounds.y, thumbBounds.width,
thumbBounds.height);
- g.setColor(saved);
+ BasicGraphicsUtils.drawBezel(g, thumbBounds.x, thumbBounds.y,
+ thumbBounds.width, thumbBounds.height,
+ false, false, thumbDarkShadowColor,
+ thumbDarkShadowColor, thumbHighlightColor,
+ thumbHighlightColor);
}
/**
Index: javax/swing/plaf/basic/BasicScrollPaneUI.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicScrollPaneUI.java,v
retrieving revision 1.8
diff -u -r1.8 BasicScrollPaneUI.java
--- javax/swing/plaf/basic/BasicScrollPaneUI.java 20 Apr 2005 05:47:55 -0000 1.8
+++ javax/swing/plaf/basic/BasicScrollPaneUI.java 27 Apr 2005 17:51:53 -0000
@@ -1,5 +1,5 @@
/* BasicScrollPaneUI.java
- Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: javax/swing/plaf/basic/BasicToggleButtonUI.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicToggleButtonUI.java,v
retrieving revision 1.7
diff -u -r1.7 BasicToggleButtonUI.java
--- javax/swing/plaf/basic/BasicToggleButtonUI.java 2 Sep 2004 05:10:27 -0000 1.7
+++ javax/swing/plaf/basic/BasicToggleButtonUI.java 27 Apr 2005 17:51:53 -0000
@@ -1,5 +1,5 @@
/* BasicToggleButtonUI.java
- Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -48,5 +48,15 @@
return new BasicToggleButtonUI();
}
+ /**
+ * Returns the prefix for the UI defaults property for this UI class.
+ * This is 'ToggleButton' for this class.
+ *
+ * @return the prefix for the UI defaults property
+ */
+ protected String getPropertyPrefix()
+ {
+ return "ToggleButton";
+ }
}
Index: javax/swing/plaf/metal/MetalLookAndFeel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/metal/MetalLookAndFeel.java,v
retrieving revision 1.11
diff -u -r1.11 MetalLookAndFeel.java
--- javax/swing/plaf/metal/MetalLookAndFeel.java 25 Apr 2005 19:36:40 -0000 1.11
+++ javax/swing/plaf/metal/MetalLookAndFeel.java 27 Apr 2005 17:51:53 -0000
@@ -1,5 +1,5 @@
/* MetalLookAndFeel.java
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -465,8 +465,16 @@
Object[] myDefaults = new Object[] {
"Button.background", new ColorUIResource(getControl()),
"Button.border", MetalBorders.getButtonBorder(),
+ "Button.darkShadow", new ColorUIResource(getControlDarkShadow()),
+ "Button.disabledText", new ColorUIResource(getControlDisabled()),
+ "Button.focus", new ColorUIResource(getFocusColor()),
"Button.font", getControlTextFont(),
+ "Button.foreground", new ColorUIResource(getSystemTextColor()),
+ "Button.highlight", new ColorUIResource(getControlHighlight()),
+ "Button.light", new ColorUIResource(getControlHighlight()),
"Button.margin", new Insets(2, 14, 2, 14),
+ "Button.select", new ColorUIResource(getPrimaryControlShadow()),
+ "Button.shadow", new ColorUIResource(getPrimaryControlShadow()),
"CheckBox.background", new ColorUIResource(getControl()),
"CheckBoxMenuItem.background", new ColorUIResource(getControl()),
"ToolBar.background", new ColorUIResource(getControl()),
@@ -478,6 +486,8 @@
"TabbedPane.background", new ColorUIResource(getControl()),
"Label.background", new ColorUIResource(getControl()),
"Label.font", getControlTextFont(),
+ "Label.disabledForeground", new ColorUIResource(getControlDisabled()),
+ "Label.foreground", new ColorUIResource(getSystemTextColor()),
"Menu.background", new ColorUIResource(getControl()),
"Menu.font", getControlTextFont(),
"MenuBar.background", new ColorUIResource(getControl()),
@@ -485,6 +495,12 @@
"MenuItem.background", new ColorUIResource(getControl()),
"MenuItem.font", getControlTextFont(),
"ScrollBar.background", new ColorUIResource(getControl()),
+ "ScrollBar.shadow", new ColorUIResource(getControlShadow()),
+ "ScrollBar.thumb", new ColorUIResource(getPrimaryControlShadow()),
+ "ScrollBar.thumbDarkShadow",
+ new ColorUIResource(getPrimaryControlDarkShadow()),
+ "ScrollBar.thumbHighlight",
+ new ColorUIResource(getPrimaryControl()),
"PopupMenu.border", new MetalBorders.PopupMenuBorder()
};
defaults.putDefaults(myDefaults);
Index: javax/swing/plaf/metal/MetalScrollBarUI.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/metal/MetalScrollBarUI.java,v
retrieving revision 1.2
diff -u -r1.2 MetalScrollBarUI.java
--- javax/swing/plaf/metal/MetalScrollBarUI.java 20 Apr 2005 05:47:56 -0000 1.2
+++ javax/swing/plaf/metal/MetalScrollBarUI.java 27 Apr 2005 17:51:53 -0000
@@ -38,9 +38,14 @@
package javax.swing.plaf.metal;
+import java.awt.Dimension;
+import java.awt.Graphics;
+import java.awt.Rectangle;
import java.util.HashMap;
import javax.swing.JComponent;
+import javax.swing.UIDefaults;
+import javax.swing.UIManager;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.BasicScrollBarUI;
@@ -48,6 +53,9 @@
extends BasicScrollBarUI
{
+ /** The minimum thumb size */
+ private static final Dimension MIN_THUMB_SIZE = new Dimension(18, 18);
+
// FIXME: maybe replace by a Map of instances when this becomes stateful
/** The shared UI instance for JScrollBars. */
private static HashMap instances = null;
@@ -84,4 +92,74 @@
return instance;
}
+
+ /**
+ * Paints the slider button of the ScrollBar.
+ *
+ * @param g the Graphics context to use
+ * @param c the JComponent on which we paint
+ * @param thumbBounds the rectangle that is the slider button
+ */
+ protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds)
+ {
+ // first we fill the background
+ g.setColor(thumbColor);
+ g.fillRect(thumbBounds.x, thumbBounds.y, thumbBounds.width,
+ thumbBounds.height);
+
+ // draw the outer dark line
+ g.setColor(thumbDarkShadowColor);
+ g.drawRect(thumbBounds.x, thumbBounds.y, thumbBounds.width - 1,
+ thumbBounds.height - 1);
+
+ // draw the inner light line
+ g.setColor(thumbHighlightColor);
+ g.drawLine(thumbBounds.x + 1, thumbBounds.y + 1,
+ thumbBounds.x + thumbBounds.width - 2,
+ thumbBounds.y + 1);
+ g.drawLine(thumbBounds.x + 1, thumbBounds.y + 1,
+ thumbBounds.x + 1,
+ thumbBounds.y + thumbBounds.height - 2);
+
+ // draw the shadow line
+ UIDefaults def = UIManager.getLookAndFeelDefaults();
+ g.setColor(def.getColor("ScrollBar.shadow"));
+ g.drawLine(thumbBounds.x + 1, thumbBounds.y + thumbBounds.height,
+ thumbBounds.x + thumbBounds.width,
+ thumbBounds.y + thumbBounds.height);
+
+ // draw the pattern
+ int xOff = 0;
+ for (int y = thumbBounds.y + 4;
+ y < (thumbBounds.y + thumbBounds.height - 4); y++)
+ {
+ // set color alternating with every line
+ if ((y % 2) == 0)
+ g.setColor(thumbHighlightColor);
+ else
+ g.setColor(thumbDarkShadowColor);
+
+ for (int x = thumbBounds.x + 3 + (xOff);
+ x < (thumbBounds.x + thumbBounds.width - 3); x = x + 4)
+ {
+ g.drawLine(x, y, x, y);
+ }
+
+ // increase x offset
+ xOff++;
+ if (xOff > 3)
+ xOff = 0;
+
+ }
+ }
+
+ /**
+ * This method returns the minimum thumb size.
+ *
+ * @return The minimum thumb size.
+ */
+ protected Dimension getMinimumThumbSize()
+ {
+ return MIN_THUMB_SIZE;
+ }
}
Index: javax/swing/text/Document.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/text/Document.java,v
retrieving revision 1.8
diff -u -r1.8 Document.java
--- javax/swing/text/Document.java 25 Apr 2005 19:36:42 -0000 1.8
+++ javax/swing/text/Document.java 27 Apr 2005 17:51:53 -0000
@@ -1,5 +1,5 @@
/* Document.java --
- Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: javax/swing/text/GapContent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/text/GapContent.java,v
retrieving revision 1.6
diff -u -r1.6 GapContent.java
--- javax/swing/text/GapContent.java 25 Apr 2005 19:36:42 -0000 1.6
+++ javax/swing/text/GapContent.java 27 Apr 2005 17:51:53 -0000
@@ -1,5 +1,5 @@
/* GapContent.java --
- Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: javax/swing/text/SimpleAttributeSet.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/text/SimpleAttributeSet.java,v
retrieving revision 1.3
diff -u -r1.3 SimpleAttributeSet.java
--- javax/swing/text/SimpleAttributeSet.java 30 Nov 2004 23:59:08 -0000 1.3
+++ javax/swing/text/SimpleAttributeSet.java 27 Apr 2005 17:51:53 -0000
@@ -1,5 +1,5 @@
/* SimpleAttributeSet.java --
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: javax/swing/tree/DefaultTreeSelectionModel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/tree/DefaultTreeSelectionModel.java,v
retrieving revision 1.7
diff -u -r1.7 DefaultTreeSelectionModel.java
--- javax/swing/tree/DefaultTreeSelectionModel.java 25 Apr 2005 19:36:43 -0000 1.7
+++ javax/swing/tree/DefaultTreeSelectionModel.java 27 Apr 2005 17:51:53 -0000
@@ -1,5 +1,5 @@
/* DefaultTreeSelectionModel.java --
- Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
More information about the Java-patches
mailing list