JavaScript to run Java Applet in another frame


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

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    3

    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: http://209.85.215.104/search?q=cache...&cd=2&gl=us#22

    Thank you in advance.

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Welcome to DevX

    What about doing something as simple as not allowing multiple documents to be opened at the same time?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Aug 2008
    Posts
    3
    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, 03:19 PM
  2. Run java servers as windows services
    By Sergio Pereira in forum Java
    Replies: 3
    Last Post: 05-25-2001, 05: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, 03:41 PM
  5. Quotes on writing a java applet
    By Mike Buchanan in forum Java
    Replies: 0
    Last Post: 04-12-2000, 10: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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