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 e7119c4..321389e 100644 --- a/geogebra/export/WorksheetExportDialog.java +++ b/geogebra/export/WorksheetExportDialog.java @@ -664,10 +664,15 @@ public class WorksheetExportDialog extends JDialog { * whether a signed or unsigned applet is needed for the options set. */ private URL getAppletCodebase() { - URL codebase = app.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(app.getCodeBase(), "unsigned/"); + codebase = new URL(codebase, "unsigned/"); } catch (Exception e) { e.printStackTrace(); } -- tg: (4b6e56e..) patch/applet_export (depends on: master)