High Definition eLearning
Welcome guest, is this your first visit? Create Account now to join.
  • Login:

Welcome to the Lectora and CourseMill Forums

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Jan 2012
    Posts
    6
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default how to import java applet in my title?

    hi all
    please help me to import java applet in my title.
    thanks

  2. #2
    EDT
    EDT is offline
    Administrator
    Join Date
    Jan 2004
    Posts
    363
    Thanks
    0
    Thanked 15 Times in 15 Posts

    Default

    The only way to import a Java applet into Lectora is through the use of an external HTML object. When you add the external HTML object, select 'Java Applet' from the drop down list for the object type and then select the .class file you want to bring in. You will need to publish out to HTML, AICC or SCORM in order to view this object as Java applets are for a web-based environment.

  3. The Following User Says Thank You to EDT For This Useful Post:

    Ehsanz (02-02-2012)

  4. #3
    Member
    Join Date
    Jan 2012
    Posts
    6
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by EDT View Post
    The only way to import a Java applet into Lectora is through the use of an external HTML object. When you add the external HTML object, select 'Java Applet' from the drop down list for the object type and then select the .class file you want to bring in. You will need to publish out to HTML, AICC or SCORM in order to view this object as Java applets are for a web-based environment.
    i follow these steps, but java applet cant run
    why?
    1.jpg
    2.jpg
    3.jpg

  5. #4
    EDT
    EDT is offline
    Administrator
    Join Date
    Jan 2004
    Posts
    363
    Thanks
    0
    Thanked 15 Times in 15 Posts

    Default

    All Lectora can do is make that Java applet available to the browser in the code and the browser will have to reference a Java plug-in to actually do something with it. What exactly is your .class file supposed to do? Can you run it successfully in any other browser or coded HTML page not created by Lectora?

  6. The Following User Says Thank You to EDT For This Useful Post:

    Ehsanz (02-02-2012)

  7. #5
    Member
    Join Date
    Jan 2012
    Posts
    6
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    i am a math teacher. please explain to me, how can import this java applet to lectora ?
    Sum of angles in a triangle

  8. #6
    EDT
    EDT is offline
    Administrator
    Join Date
    Jan 2004
    Posts
    363
    Thanks
    0
    Thanked 15 Times in 15 Posts

    Default

    You have to make sure you bring in all the files required to display the Java applet. There should be a .jar file and maybe a few other files. If you can upload all the files that are required to display the page you included in your last post to http://cds.trivantis.com in a zip file, I can try putting it together for you in a sample title.

  9. The Following User Says Thank You to EDT For This Useful Post:

    Ehsanz (02-02-2012)

  10. #7
    Member
    Join Date
    Jan 2012
    Posts
    6
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by EDT View Post
    You have to make sure you bring in all the files required to display the Java applet. There should be a .jar file and maybe a few other files. If you can upload all the files that are required to display the page you included in your last post to http://cds.trivantis.com in a zip file, I can try putting it together for you in a sample title.
    name of my uploaded file is Inequalities.zip.
    Form field : uploadfile
    Uploaded file : Inequalities.zip (7897 bytes)
    Content Type : application/zip

    thanks

  11. #8
    EDT
    EDT is offline
    Administrator
    Join Date
    Jan 2004
    Posts
    363
    Thanks
    0
    Thanked 15 Times in 15 Posts

    Default

    It looks like the .class file is missing from the uploaded zip file. Could you upload .class file as well?

  12. The Following User Says Thank You to EDT For This Useful Post:

    Ehsanz (02-03-2012)

  13. #9
    Member
    Join Date
    Jan 2012
    Posts
    6
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by EDT View Post
    It looks like the .class file is missing from the uploaded zip file. Could you upload .class file as well?
    i save applet of this page (Set and Interval Notation) in my computer and compress to zip file, then upload zip file.
    name of my uploaded file is Inequalities1.zip
    Form field : uploadfile
    Uploaded file : Inequalities1.zip (18338 bytes)
    Content Type : application/zip

  14. #10
    EDT
    EDT is offline
    Administrator
    Join Date
    Jan 2004
    Posts
    363
    Thanks
    0
    Thanked 15 Times in 15 Posts

    Default

    Here is what you need to do in Lectora.

    1. Add an external HTML object, type Java Applet
    2. Browse out and locate the JApplet1.class file
    3. Click the Additional Files tab and bring in the remaining four class files and the Inequalities.jar file
    4. Size the external HTML object as you would like. In the example you sent, it was 496X438.
    5. Publish out to HTML
    6. Locate the HTML folder and bring in the three folders that was included in the zip file you sent me, i.e. com, META-INF and symantec, into the root of the HTML folder.

    At that point, it should run for you. You will need to drag those three folders over each time you publish out to a new directory. The Java created program requires those additional folders to function properly. There is no way in Lectora to set it to automatically include those folders upon publish as one of those folders is six directories deep. Hopefully, this will work for you.

  15. The Following User Says Thank You to EDT For This Useful Post:

    Ehsanz (02-08-2012)


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Lectora and CourseMill are registered trademarks of Trivantis Corporation, Camtasia and Snagit are registered trademarks of TechSmith Corporation and
Flypaper is a trademark of Flypaper Studio. Camtasia and Snagit are used with the permission of TechSmith Corporation.
Copyright © 1999-2012 Trivantis Corporation Inc. All rights reserved.