From: Giovanni Mascellani Subject: [PATCH] patch/applet_export When exporting the worksheet as applet, use the classes distributed by the upstream site (which have embedded dependencies). Signed-off-by: Giovanni Mascellani --- geogebra/export/WorksheetExportDialog.java | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/geogebra/export/WorksheetExportDialog.java b/geogebra/export/WorksheetExportDialog.java index ba4ba36..37d3c5f 100644 --- a/geogebra/export/WorksheetExportDialog.java +++ b/geogebra/export/WorksheetExportDialog.java @@ -1110,10 +1110,15 @@ public class WorksheetExportDialog extends JDialog { * unsigned applet is needed for the options set. */ private URL getAppletCodebase() { - URL codebase = Application.getCodeBase(); + URL codebase = null; + try { + codebase = new URL("http://www.geogebra.org/webstart/"); + } catch (Exception e) { + e.printStackTrace(); + } if (!cbSavePrint.isSelected()) { try { - codebase = new URL(Application.getCodeBase(), "unsigned/"); + codebase = new URL(codebase, "unsigned/"); } catch (Exception e) { e.printStackTrace(); } -- tg: (4896c42..) patch/applet_export (depends on: master)