diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/kdejava.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/kdejava.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/kdejava.java b/kdejava/koala/org/kde/koala/kdejava.java new file mode 100644 index 00000000..0489a13e --- /dev/null +++ b/kdejava/koala/org/kde/koala/kdejava.java @@ -0,0 +1,38 @@ +/*************************************************************************** + kdejava.java - description + ------------------- + copyright : (C) 2000-2001 Lost Highway Ltd. All rights reserved. + email : Lost_Highway@tipitina.demon.co.uk + written by : Richard Dale. + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU Library General Public License as published by* + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + ***************************************************************************/ + +package org.kde.koala; + +import java.util.*; +import java.lang.Error; + +/** The 'Load the KDE Java library' class' + @author Richard Dale */ +public class kdejava { + private static boolean _initialized = false; + + public static void initialize() { + if (!_initialized) { + System.loadLibrary("kdejava"); + KApplication.setJavaSlotFactory(); + _initialized = true; + } + } + + static { + initialize(); + } +} |