Hello,
I have a Java program that uses image and audio files. I would like to run this program on a web browser. How should I do it?
Thank you
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hello,
I have a Java program that uses image and audio files. I would like to run this program on a web browser. How should I do it?
Thank you
Also posted here: https://www.coderanch.com/t/778604/j...am-image-audio
Do you want it to run on a PC without any access to the internet
or do you want it available to the world via a server on the internet?
If you don't understand my answer, don't ignore it, ask a question.
Hello,
Run java programs that are linked on my webpage. So, a server on the internet. I used to be able to do it using applets, but they are no longer supported.
I do not know any JavaScript.
Any other recommendations?
Have a link in a web page that downloads your java program to a user's PC where it can be executed.
If you don't understand my answer, don't ignore it, ask a question.
So now way for the user to run the program directly on their browser unless I use JavaScript?
As Tim said, Applets are dead. You will need to redesign your app if you want it to run in a browser.
If you don't understand my answer, don't ignore it, ask a question.
Thank you
This would be an engineering problem. Similar to facebook. They have a webcam setup now. The makers of facebook made it that way to support videos and webcams. The engineering behind this is java programs and containers. I have yet to set one up on facebook. But studying the pictures and layout of facebook, the engineering is in java and they use Java containers to do this.
Article by Tom Donahue, editor of Twitter, LinkEdin. On the principles of Java in containers. Tutorialsworks. 14 best practices for containers. It's on google search.
Last edited by Helium c2; February 9th, 2024 at 12:01 PM.