gcc/libjava/gnu/gcj/xlib
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
..
Clip.java
Colormap.java
Display.java
Drawable.java
Font.java
GC.java
natClip.cc
natColormap.cc
natDisplay.cc
natDrawable.cc
natFont.cc
natGC.cc
natPixmap.cc
natScreen.cc
natVisual.cc
natWindow.cc
natWindowAttributes.cc
natWMSizeHints.cc
natXAnyEvent.cc
natXButtonEvent.cc
natXColor.cc
natXConfigureEvent.cc
natXException.cc
natXExposeEvent.cc
natXImage.cc
natXUnmapEvent.cc
Pixmap.java
Screen.java
Visual.java
Window.java
WindowAttributes.java
WMSizeHints.java
XAnyEvent.java
XButtonEvent.java
XColor.java
XConfigureEvent.java
XConnectException.java
XEvent.java
XException.java
XExposeEvent.java
XID.java
XImage.java
XUnmapEvent.java