summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/kdejava.java
blob: 4bd595e7ec04428dc526cd13c42a3ddbb7405fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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");
			TDEApplication.setJavaSlotFactory();
			_initialized = true;
		}
	}
	
	static {
		initialize();
	}
}