org.jpedal.examples.viewer.commands.Buy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenViewerFX Show documentation
Show all versions of OpenViewerFX Show documentation
Open Source (LGPL) JavaFX PDF Viewer
/*
* ===========================================
* Java Pdf Extraction Decoding Access Library
* ===========================================
*
* Project Info: http://www.idrsolutions.com
* Help section for developers at http://www.idrsolutions.com/support/
*
* (C) Copyright 1997-2017 IDRsolutions and Contributors.
*
* This file is part of JPedal/JPDF2HTML5
*
@LICENSE@
*
* ---------------
* Buy.java
* ---------------
*/
package org.jpedal.examples.viewer.commands;
import org.jpedal.gui.GUIFactory;
import org.jpedal.utils.BrowserLauncher;
/**
* Code to handle Buy button we display in demo versions of Viewer
*/
public class Buy {
public static void execute(final Object[] args, final GUIFactory currentGUI) {
if (args == null) {
try {
BrowserLauncher.openURL("http://www.idrsolutions.com/jpedal-pricing/");
} catch (final Exception e1) {
currentGUI.showMessageDialog(e1 + " Please visit http://www.idrsolutions.com/jpedal-pricing/");
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy