Question:

How can i run a .class file when i open a browser

by  |  earlier

0 LIKES UnLike

i am creating web filter which filters the images in the web page and want to make my program to run when any browser is opened

 Tags:

   Report

1 ANSWERS


  1. If that .class file is an applet you need to put it in an html file and then open that in a browser.

    so open notepade and type the following, replacing myProg.class with your class and save it in the same directory as your .class file.

    <HTML>

    <applet code=myProg.class width=460 height=160>

        </applet>

    </HTML>

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.