gcc/libjava/java/awt/Toolkit.java
Warren Levy 111393dfd6 Font.java (isBold): Fix syntax error.
* java/awt/Font.java(isBold): Fix syntax error.
	(isItalic): ditto.
	* java/awt/Frame.java(postEvent): ditto.
	* java/awt/Menu.java(postEvent): ditto.
	* java/awt/MenuBar.java(postEvent): ditto.
	* java/awt/Toolkit.java(init): Included a stub.

From-SVN: r32723
2000-03-24 09:09:56 +00:00

33 lines
741 B
Java

/* Copyright (C) 1999, 2000 Free Software Foundation
This file is part of libjava.
This software is copyrighted work licensed under the terms of the
Libjava License. Please consult the file "LIBJAVA_LICENSE" for
details. */
package java.awt;
import java.awt.peer.*;
import java.net.URL;
/* A very incomplete placeholder. */
public abstract class Toolkit
{
static Toolkit defaultToolkit;
public static synchronized Toolkit getDefaultToolkit()
{
if (defaultToolkit == null)
init();
return defaultToolkit;
}
protected abstract FramePeer createFrame(Frame target);
public abstract Image getImage(URL url);
private static void init() { }
// private static native void init();
// static { init(); }
}