}// </editor-fold>//GEN-END:initComponents
private void exportInternalTemplate(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_exportInternalTemplate
if (exportFileChooser == null) {
exportFileChooser = new JFileChooser();
exportFileChooser.setFileFilter(new ExtensionFileFilter("zip", "Zip Archive"));
exportFileChooser.setSelectedFile(new File(userPrefs.get("courseBuilder.exportedTemplate", "TinyLMS Template.zip")));
exportFileChooser.setApproveButtonText(labels.getString("filechooser.export"));
}
if (JFileChooser.APPROVE_OPTION == exportFileChooser.showSaveDialog(this)) {
userPrefs.put("courseBuilder.exportedTemplate", exportFileChooser.getSelectedFile().getPath());