gcc/libjava/java/awt
Scott Gilbertson 9e9e204234 XGraphics.java (XGraphics): Use new GC.create.
2003-04-19  Scott Gilbertson  <scottg@mantatest.com>

	* gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
	(dispose): Null metrics.
	* gnu/awt/xlib/XToolkit.java (sync): Implement.
	* gnu/gcj/xlib/Clip.java (dispose): Change name of native from
	finalize.
	(finalize): Call dispose.
	* gnu/gcj/xlib/Drawable.java (gcCache): New field.
	(gcCachedCount): New field.
	(finalize): New method.
	(putGCInCache): New method.
	(getGCFromCache): New method.
	* gnu/gcj/xlib/GC.java (GC): Make protected.
	(clone): Get new GC from cache if possible.
	(create): New static method.
	(dispose): Save old GC in cache.
	* gnu/gcj/xlib/natClip.cc (dispose): Check for null before
	deleting.
	* gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
	is null.
	* gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
	* java/awt/Container.java (visitChild): Dispose gfx2 when
	finished.

From-SVN: r65827
2003-04-19 19:54:39 +00:00
..
color 2003-02-13 Michael Koch <konqueror@gmx.de> 2003-02-13 19:28:32 +00:00
datatransfer 2003-03-17 Michael Koch <konqueror@gmx.de> 2003-03-17 15:20:10 +00:00
dnd 2003-03-24 Michael Koch <konqueror@gmx.de> 2003-03-24 13:12:55 +00:00
event 2003-03-02 Michael Koch <konqueror@gmx.de> 2003-03-02 19:24:49 +00:00
font 2003-03-31 Michael Koch <konqueror@gmx.de> 2003-03-31 09:55:09 +00:00
geom 2003-01-14 Michael Koch <konqueror@gmx.de> 2003-01-14 21:21:35 +00:00
im Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
image 2003-03-10 Michael Koch <konqueror@gmx.de> 2003-03-10 13:21:38 +00:00
peer XPanelPeer.java (beginLayout, [...]): New methods. 2003-03-01 22:14:21 +00:00
print 2003-02-17 Michael Koch <konqueror@gmx.de> 2003-02-17 15:26:30 +00:00
ActiveEvent.java
Adjustable.java
AlphaComposite.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
AttributeValue.java
AWTError.java
AWTEvent.java
AWTEventMulticaster.java
AWTException.java
AWTKeyStroke.java
AWTPermission.java
BasicStroke.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
BorderLayout.java GridLayout.java (layoutContainer): Use tree lock. 2002-11-10 23:11:21 +00:00
BufferCapabilities.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
Button.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
Canvas.java
CardLayout.java CardLayout.java (show): Rewrote. 2003-01-15 22:47:04 +00:00
Checkbox.java
CheckboxGroup.java
CheckboxMenuItem.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
Choice.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
Color.java
ColorPaintContext.java
Component.java Component.java, [...]: Fixed typos. 2003-03-02 14:31:40 +00:00
ComponentOrientation.java
Composite.java
CompositeContext.java
Container.java XGraphics.java (XGraphics): Use new GC.create. 2003-04-19 19:54:39 +00:00
ContainerOrderFocusTraversalPolicy.java 2003-03-24 Michael Koch <koqnueror@gmx.de> 2003-03-24 13:50:32 +00:00
Cursor.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
DefaultFocusTraversalPolicy.java
DefaultKeyboardFocusManager.java
Dialog.java 2003-03-17 Michael Koch <konqueror@gmx.de> 2003-03-17 15:20:10 +00:00
Dimension.java
DisplayMode.java 2003-01-10 Michael Koch <konqueror@gmx.de> 2003-01-11 00:51:29 +00:00
Event.java Applet.java, [...]: New versions from Classpath. 2002-11-10 00:16:43 +00:00
EventDispatchThread.java
EventQueue.java 2003-03-02 Michael Koch <konqueror@gmx.de> 2003-03-02 14:01:40 +00:00
FileDialog.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
FlowLayout.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
FocusTraversalPolicy.java 2003-03-10 Michael Koch <konqueror@gmx.de> 2003-03-10 13:21:38 +00:00
Font.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
FontFormatException.java
FontMetrics.java
Frame.java 2003-03-24 Michael Koch <konqueror@gmx.de> 2003-03-24 08:26:52 +00:00
GradientPaint.java
Graphics2D.java 2003-02-19 Michael Koch <konqueror@gmx.de> 2003-02-19 09:46:43 +00:00
Graphics.java 2003-02-13 Michael Koch <konqueror@gmx.de> 2003-02-13 19:26:57 +00:00
GraphicsConfigTemplate.java
GraphicsConfiguration.java
GraphicsDevice.java
GraphicsEnvironment.java
GridBagConstraints.java GridBagConstraints.java (FIRST_LINE_ENT, [...]): New constants. 2003-02-13 07:02:12 +00:00
GridBagLayout.java Applet.java, [...]: New versions from Classpath. 2002-11-10 00:16:43 +00:00
GridLayout.java GridLayout.java (layoutContainer): Use tree lock. 2002-11-10 23:11:21 +00:00
HeadlessException.java
IllegalComponentStateException.java
Image.java
ImageCapabilities.java
Insets.java
ItemSelectable.java
JobAttributes.java
KeyboardFocusManager.java GridBagConstraints.java (FIRST_LINE_ENT, [...]): New constants. 2003-02-13 07:02:12 +00:00
KeyEventDispatcher.java
KeyEventPostProcessor.java
Label.java 2003-02-13 Michael Koch <konqueror@gmx.de> 2003-02-13 19:28:32 +00:00
LayoutManager2.java
LayoutManager.java
List.java 2003-03-02 Michael Koch <konqueror@gmx.de> 2003-03-02 19:24:49 +00:00
MediaTracker.java
Menu.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
MenuBar.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
MenuComponent.java 2003-03-02 Michael Koch <konqueror@gmx.de> 2003-03-02 19:24:49 +00:00
MenuContainer.java
MenuItem.java
MenuShortcut.java
PageAttributes.java
Paint.java
PaintContext.java
Panel.java
Point.java
Polygon.java
PopupMenu.java 2003-02-13 Michael Koch <konqueror@gmx.de> 2003-02-13 19:28:32 +00:00
PrintGraphics.java
PrintJob.java
Rectangle.java
RenderingHints.java
Robot.java 2003-03-24 Michael Koch <koqnueror@gmx.de> 2003-03-24 13:50:32 +00:00
Scrollbar.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
ScrollPane.java 2003-03-18 Michael Koch <konqueror@gmx.de> 2003-03-18 18:16:54 +00:00
ScrollPaneAdjustable.java 2003-03-18 Michael Koch <konqueror@gmx.de> 2003-03-18 18:16:54 +00:00
Shape.java
Stroke.java
SystemColor.java
TextArea.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
TextComponent.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
TextField.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
TexturePaint.java
Toolkit.java 2003-03-24 Michael Koch <koqnueror@gmx.de> 2003-03-24 13:50:32 +00:00
Transparency.java
Window.java 2003-03-17 Michael Koch <konqueror@gmx.de> 2003-03-17 15:20:10 +00:00