Commit ca35371d authored by petter's avatar petter

Removed org.jdesktop for good

git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@156 0463f305-d864-43cb-8a47-61cf597d4139
parent badce281
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="bin" path="java"/>
<classpathentry kind="var" path="JRE_LIB" sourcepath="JRE_SRC"/>
<classpathentry kind="con" path="bin"/>
<classpathentry kind="con" path="lib"/>
<classpathentry kind="lib" path="lib/itext-1.4.8.jar"/>
<classpathentry kind="lib" path="lib/jsch-0.1.32-patched.jar"/>
<classpathentry kind="lib" path="lib/swing-layout-1.0.2.jar"/>
<classpathentry kind="lib" path="lib/jmf-2.1.1e.jar"/>
<classpathentry kind="lib" path="lib/mp3plugin.jar"/>
<classpathentry kind="lib" path="lib/v4l4j.jar">
<attributes>
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="TTT/native/linux32"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/lti-civil.jar"/>
<classpathentry kind="lib" path="lib/base64coder.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="bin" path="java"/>
<classpathentry kind="var" path="JRE_LIB" sourcepath="JRE_SRC"/>
<classpathentry kind="con" path="bin"/>
<classpathentry kind="con" path="lib"/>
<classpathentry kind="lib" path="lib/itext-1.4.8.jar"/>
<classpathentry kind="lib" path="lib/jsch-0.1.32-patched.jar"/>
<classpathentry kind="lib" path="lib/jmf-2.1.1e.jar"/>
<classpathentry kind="lib" path="lib/mp3plugin.jar"/>
<classpathentry kind="lib" path="lib/v4l4j.jar">
<attributes>
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="TTT/native/linux32"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/lti-civil.jar"/>
<classpathentry kind="lib" path="lib/base64coder.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
......@@ -523,12 +523,6 @@ public class TTT extends JFrame {
ActionEvent.CTRL_MASK));
menuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
// NOTE: post processing dialog is designed with NetBeans and
// requires Swing Layout Extension Library
// TODO: redesign without Swing Layout Extension Library
if (!LibraryChecker.isSwingLayoutExtensionsLibraryInstalled())
return;
final File file = showFileDialog();
if (file != null) {
// get out of Event Dispatiching Thread
......
// TeleTeachingTool - Presentation Recording With Automated Indexing
//
// Copyright (C) 2003-2008 Peter Ziewer - Technische Universitt Mnchen
// Copyright (C) 2003-2008 Peter Ziewer - Technische Universit�t M�nchen
//
// This file is part of TeleTeachingTool.
//
......@@ -69,22 +69,6 @@ public class LibraryChecker {
return isITextPdfLibraryInstalled;
}
private static boolean isSwingLayoutExtensionsLibraryInstalled = false;
public static boolean isSwingLayoutExtensionsLibraryInstalled() {
if (!isSwingLayoutExtensionsLibraryInstalled)
try {
ClassLoader.getSystemClassLoader().loadClass("org.jdesktop.layout.GroupLayout");
isSwingLayoutExtensionsLibraryInstalled = true;
} catch (ClassNotFoundException e) {
System.out.println("Swing Layout Extensions Library: NOT INSTALLED");
JOptionPane.showMessageDialog(TTT.ttt,
"Swing Layout Extensions Library is not installed:\nCannot open post processing dialog",
"Error...", JOptionPane.ERROR_MESSAGE);
}
return isSwingLayoutExtensionsLibraryInstalled;
}
private static boolean isJSchInstalled = false;
public static boolean isJSchInstalled() {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment