Ulf Dittmer wrote:What does "the applet is not able to be seen" mean, exactly? Are there any error messages in the Java Console?
Ulf Dittmer wrote:The question remains just about the same: what does this code do, and what did you expect it to do instead?
Edited: OK, I just ran it, and it seems fine. I could enter some numbers and it calculated something. So what's the issue?
On an unrelated note: You should get in the habit of using the @Override annotation; it can be a huge time saver by preventing bugs resulting from typos.
Ulf Dittmer wrote:So the code in your second post has nothing at all to do with the problem? If so, why did you post it?
As I understand it, you want to create an applet that can play AVI files; is that correct? if so, the simplest approach is probably to use the JMF library - it supports AVI, and does not require native code (which can be tricky to use in an applet). JMF sample code is available here.
JMF library does not have the following API
import javax.media.*;
import javax.media.protocol.*;
import javax.media.control.*;
import javax.media.format.*;
Ulf Dittmer wrote:For basic operations, JMF does not require any native libraries (and hence linking) - there is a pure-Java version of it.
JMF library does not have the following API
import javax.media.*;
import javax.media.protocol.*;
import javax.media.control.*;
import javax.media.format.*;
What are you basing this statement on? The javadocs indicate otherwise: http://docs.oracle.com/cd/E17802_01/j2se/javase/technologies/desktop/media/jmf/2.1.1/apidocs/
Ulf Dittmer wrote:Sorry, I don't understand what problem you're facing now. Can you rephrase it?
Ulf Dittmer wrote:The output is what I would expect from this line:
System.out.println("AudioPlayerApplet.class" + bgVideo);
What else are you expecting?
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|