]>
Commit | Line | Data |
---|---|---|
2ba5f774 | 1 | /* Copyright (C) 1999 Free Software Foundation |
fd164b17 PB |
2 | |
3 | This file is part of libjava. | |
4 | ||
5 | This software is copyrighted work licensed under the terms of the | |
6 | Libjava License. Please consult the file "LIBJAVA_LICENSE" for | |
7 | details. */ | |
8 | ||
9 | package java.awt; | |
10 | import java.awt.peer.*; | |
11 | ||
12 | /* A very incomplete placeholder. */ | |
13 | ||
14 | public abstract class Toolkit | |
15 | { | |
16 | static Toolkit defaultToolkit; | |
17 | ||
18 | public static synchronized Toolkit getDefaultToolkit() | |
19 | { | |
20 | if (defaultToolkit == null) | |
21 | init(); | |
22 | return defaultToolkit; | |
23 | } | |
24 | ||
25 | protected abstract FramePeer createFrame(Frame target); | |
26 | ||
27 | private static native void init(); | |
28 | // static { init(); } | |
29 | } |