DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: JavaScript to run Java Applet in another frame

  1. #1
    Join Date
    Aug 2008

    JavaScript to run Java Applet in another frame

    Hi all,

    I am using ViewONE, which is a Java applet that allows viewing documents, images, etc... on web pages.

    The existing code is forcing the Java applet to be started and destroyed every time a user clicks on a document which causes the page to freeze after opening multiple documents.

    The existing code uses *frames* as follows:

    Frame # 1: Has all the documents in a list (Being red from the DB).
    When the user clicks on a document from the list.

    Frame # 2: populates the document (Runs the applet).

    Could someone assist me on how fix this issue please?

    Main issue: Using JavaScript to open document without start/destroy applet every time.

    If anyone needs to look at the code please let me know and I'll post it.

    The ViewONE provides many helpful JavaScript functions to use the applet but I can get it to work. Here is the manual with all JavaScript functions:

    Thank you in advance.

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    Welcome to DevX

    What about doing something as simple as not allowing multiple documents to be opened at the same time?

  3. #3
    Join Date
    Aug 2008
    Thank you for your reply.

    It is not opening multiple documents at the same time.

    When a user clicks on a document it opens that document by destroying the applet and starting a new one.

    What I need is to use JavaScript to open/close the document without starting/destroying the Java applet every time.

    Does this make sense?

    Thanks again.

Similar Threads

  1. Page-Loading Java Applet
    By SvenLittkowski in forum Java
    Replies: 3
    Last Post: 09-22-2006, 02:19 PM
  2. Run java servers as windows services
    By Sergio Pereira in forum Java
    Replies: 3
    Last Post: 05-25-2001, 04:19 PM
  3. "how do you run java applet in JDK.
    By kunthy in forum Java
    Replies: 2
    Last Post: 11-02-2000, 07:14 AM
  4. Running Java Applet outside IDE
    By Adam in forum Java
    Replies: 2
    Last Post: 06-29-2000, 02:41 PM
  5. Quotes on writing a java applet
    By Mike Buchanan in forum Java
    Replies: 0
    Last Post: 04-12-2000, 09:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center