Information

0
Story Points

Technologies

Decompiled Java File
package com.lowagie.tools;

import com.lowagie.text.Document;
import java.awt.Component;
import java.awt.GraphicsEnvironment;
import java.lang.reflect.Method;
import javax.swing.JOptionPane;

public class ToolboxAvailable {
   public static void main(String[] var0) {
      if(GraphicsEnvironment.isHeadless()) {
         System.out.println(Document.getVersion() + " Toolbox error: headless display");
      } else {
         try {
            Class var1 = Class.forName("com.lowagie.toolbox.Toolbox");
            Method var2 = var1.getMethod("main", new Class[]{var0.getClass()});
            var2.invoke((Object)null, new Object[]{var0});
         } catch (Exception var3) {
            JOptionPane.showMessageDialog((Component)null, "You need the iText-toolbox.jar with class com.lowagie.toolbox.Toolbox to use the iText Toolbox.", Document.getVersion() + " Toolbox error", 0);
         }
      }

   }
}
Page generated: Oct 19, 2017 2:34:23 PM