Does an applet work in IE 5.5 and/or Netscape 4.77
Hi,
I'm trying to get a simple swing applet running in IE 5.5
and Netscape 4.77 - the awt version works fine in both
browsers.
But with swing I'm experiencing hang-ups of the browsers.
Does anyone know something about this behaviour?
Thanks in advance.
Burkhard
Thanks, but I've read that page before.
I tried SDK 1.3.1 and 1.3.1_02 and still receive the
hang-ups.
As proposed I modified my html page to:
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="120" height="160" align="middle"
codebase="http://java.sun.com/products/plugin/1.3/
jinstall-13-win32.cab
#Version=1,3,0,0">
<PARAM NAME="code" VALUE="swing.class">
<PARAM NAME="codebase" VALUE=".">
<COMMENT>
<EMBED type="application/x-java-applet;version=1.3"
width="120" height="160" align="middle"
code="swing.class"
codebase="."
pluginspage="http://java.sun.com/products/plugin/
1.3/plugin-install.html">
<NOEMBED>
</COMMENT>
No support for JDK 1.3 applets found!
</NOEMBED>
</EMBED>
</OBJECT>
...
Similar Messages
-
How does chat applet works?
how does chat applet works? What specific technologies should i learn to make a chat messaging work?
thanks in advance for ur help...Chat applets work on sockets. Normally there are two parts. One server and one or more clients. The clients connect to the server and any message sent by a client is then distributed by the server to all the other clients.
Sun's site is incredibly slow tonite so I'll give you a google link
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=chatserver+chatclient+java -
Does office hd work on Apple VGA Adapter and what is anther app work with this cable
does office hd work on Apple VGA Adapter and what is anther app work with this cable
i have persentation and i like to buy this cable but i don't like Kenote i love PowerPoint can it work with VGA AdepterAny help ????
-
Does my applet work for you?
I can see it fine on my PC but nobody else can view it.
http://www.info.com.ph/~arivera/game/testmain.html
I'm using SDK 1.4.2I'm trying to learn how to use
MediaTracker right now - having some kind of problem
where I try and wait for all the images to load but it
would still run without having loaded everything.
I usually just use a boolean status, and while the "loaded" boolean is false, I dont even let the other game code run. Quick example:
import java.applet.*;
import java.awt.*;
public class Example extends Applet implements Runnable {
Image buffer,images[];
int w,h;
boolean loaded;
public void init() {
loaded = false;
w = getSize().width;
h = getSize().height;
buffer = createImage(w,h);
new Thread(this).start();
public void run() {
while (true) {
if (!loaded) { // not loaded?
loaded = load(); // try to load the images
else {
// game processing
Graphics g = buffer.getGraphics();
if (g != null) paint(g); // try an active render
else repaint(); // passive rend if active fails
try {
Thread.sleep(10);
catch (InterruptedException e) {
break;
/* you should use a boolean loader so you can know
* if the load fails or not */
protected boolean load() {
images = new Image[] { // images to load
getImage("sprite.gif"),
getImage("background.gif"),
getImage("level.gif"),
getImage("whatever.gif")
MediaTracker m = new MediaTracker(this);
for (int j = 0;j < images.length;j++) {
m.addImage(images[j],j);
try {
m.waitForAll();
catch (InterruptedException e) {
return false; // there was an error, load failed
/* the final step is to return whether or not MediaTracker didnt have a problem */
return !m.isErrorAny(); // hopefully will return true
protected Image getImage(String s) {
return getImage(getCodeBase(),s);
public void paint(Graphics g) {
Graphics gfx = buffer.getGraphics();
if (!loaded) {
gfx.setColor(Color.black);
gfx.fillRect(0,0,w,h);
gfx.setColor(Color.white);
gfx.drawString("Loading...",10,10);
else {
// game painting
g.drawImage(buffer,0,0,null);
public void update(Graphics g) {
paint(g);
The music I haven't gone around trying to fix yet. You
can turn off the music by painstakingly closing all
browser windows though.
public void stop() {
sound.stop();
I think the applet works if you have JRE 1.4 or above.
My friends can't seem to view it - so I'll put a note
on the webpage saying it requires JRE 1.4 or above.Well if you're sure you're using methods and classes that are available to previous versions of JRE, you can use the -target attribute to fix that problem. Like if you wanted JRE 1.2 and higher to run the applet instead of just 1.4, you'd compile:
javac -target 1.2 file.javaBy default JDK1.4 will compile it so only JRE1.4+ can view it (which means you'd need the plugin). -
After FF 9 installed every little while I lose whatever page I am on and it goes to about blank. When I tried to reload my pages it just sits there. Yesterday I was about to uninstall it and it started working fine again. This morning it decided to stop again, I have uninstalled it, rebooted and reinstalled and it's still doing this.
I never had this problem with any of the other versions. It all started with FF 9. It downloaded itself after I told it ignore update. I am getting very flustered with this happening.
It acts like it has a mind of its own when it comes to when it is going to work for me or not. I need to fix this somehow. I even tried reinstalling 7 again and it did the same thing as 9 does now. I took it back off and put 9 back on since neither want to work properly.Thanks for reading and thanks for the advice. Perhaps I'll ask them about it next time this problem occurs, although carrying the thing through a mall that is only about a mile away is the least of my worries. I'll do if it is both free (I don't make enough at my job to pay for such a service) and relatively speedy, although I'd hate for them to come over and for the computer to work properly (as bad as that sounds). It'd be a wasted trip and nothing would get fixed.
I'm contemplating videotaping myself performing my "fixes" on it the next time I have this problem. -
Does this applet work on your system.
After talking to other people, it seems to me that it doesn't work on XP for some reason. Please go here: http://pigseye.kennesaw.edu/~prosconi/Shooter/index.html and tell me if it works on your system.
JDK 1.4.2
Windows 2000
MSIE 6.0Doesn't work on mine :(
Towards the end of loading process this pops up in a
java console:
java.security.AccessControlException: access denied
(java.lang.RuntimePermission exitVM)
at
java.security.AccessControlContext.checkPermission(Acc
ssControlContext.java:270)
at
java.security.AccessController.checkPermission(AccessC
ntroller.java:401)
at
java.lang.SecurityManager.checkPermission(SecurityMana
er.java:542)
at
java.lang.SecurityManager.checkExit(SecurityManager.ja
a:762)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:713)
at Shooter.loadBufferedImage(Shooter.java:71)
at Shooter.init(Shooter.java:45)
at sun.applet.AppletPanel.run(AppletPanel.java:341)
at java.lang.Thread.run(Thread.java:536)I'm on winXP, I got this feeling I've disabled
something on my computer the other day but I can't
remember what, doh!
public BufferedImage loadBufferedImage(String image)
try
return ImageIO.read(new URL(getCodeBase(), image));
catch (Exception e)
e.printStackTrace();
System.exit(0); // <-- can't exit VM in applet... shouldn't even get here though.
return null;
}Apparently on your computer it does not want to download the image. Is there an equivalent to System.exit(0) for Applets? :/ -
Does .f4m manifest work with Akamai HD network and strobe player
I have been using Strobe 1.0 with Akamai's RTMP based Flash network for live multi-bitrate streaming without issue. I used a .f4m manifest file to specify the live streams and the player switches appropriately based on bandwidth.
I have attempted to do the same with Akamai's HD Network (HTTP based Flash) and Strobe and in this case if I only specify one media_url in the .f4m that one stream plays fine. However, if I specify more than one media_url as shown below then I get the "We are unable to connect to the content you have requested..."
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns="http://ns.adobe.com/f4m/1.0">
<id>Demo</id>
<streamType>live</streamType>
<baseURL>http://XXXhdlive-f.akamaihd.net/</baseURL>
<media url="kulabyte_timb_200@37626" bitrate="200" width="480" height="270"/>
<media url="kulabyte_timb_100@37626" bitrate="100" width="320" height="180"/>
</manifest>
My understanding from forum post http://forums.adobe.com/thread/589817?tstart=90 is that OSMF supports the Akamai network even without the Akamai Basic Streaming Plugin, but I'm not sure if that includes HD Network or not. I have tried with loading the AkamaiBasicStreamingPlugin.swf plugin and tried without loading it, but the behavior described above happens either way. I used this in the flashvars to load it:
plugin_Akamai=http://live.kulabyte.com/osmf/plugins/AkamaiBasicStreamingPlugin.swf
Actually it's not clear to me if I am successfully loading the plugin or not and maybe that is the real problem I am having.
I would appreciate any advice on this.
Regards,
TimHi Ken,
You wrote:
"The big gaping hole is demonstrating working plug-ins and documentation for those plug-ins."
For SMP, might including analytics plug-ins be a good start? If you are looking for "demonstrating working plug-ins" the following two analytics plug-ins are accessible:
GTrack Plug-in
http://www.realeyes.com/blog/2010/09/27/announcing-google-analytics-plug-in-for-osmf-the-g track-plug-in-2/
TubeMogul InPlay Analytics
http://tubemogul.com/public/showPage/osmf_plugin
There also are plug-in samples in the OSMF project that perhaps could be suited to your effort.
fwiw, Although OSMF is **OPEN**, many current plug-in partners are not. I have pursued an effort similar to what you currently are doing. It is awesome that the partners are supporting OSMF, however as I contacted them responses such as "That document is for customers only" was very common.
btw, My reply is forking this thread. If you respond to this response (regarding plug-ins in general), please open a new thread cross referencing this one. I will see your reply either way.
btw #2, I would be interested in the link to the "demo website" you mentioned (if it is public).
hth,
g -
How does xalan.jar work with jdk1.3.1 and not work with jdk1.4.1
Hi,
i am using java, xalan, xerces for web development. The environment is jdk1.4.1, xerces.jar, xalan.jar. i am facing problem while transforming xml, xsl. Its giving the following error
java.lang.NoSuchMethodError: org.apache.xalan.xslt.Process.getDefaultLiaison()Ljava/lang/String;
at org.apache.xalan.xslt.XSLTEngineImpl.(XSLTEngineImpl.java:367)
at org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor(XSLTProcessorFactory.java:79)
I tried with jdk1.3.1, xalan.jar, xerces.jar. Its working fine. Can anyone tell me what is the problem with jdk1.4.1 ?
Regards
AshokI have the same problem, but the version within SUN seems imcomplete,what version is ?
For example I am using the xsl tag library provided by Apache (I know this now deprecated). In its ApplyTag.java it uses XSLTDataSource this is not in the SUN 1.4 distribution so it falls over. If I add XALAN 1.0.1 it falls over because it on getDefaultLiason() because it starts loading somne classes from rt.jar and some from xalan.jar, how are you meant to override this. -
Does dynamic link work between Premiere Pro CC and Encore CS6?
I'm having a problem dynamically linking premeire pro squences
Message was edited by: Kevin Monahan>move my projects to CS6?
PPro CC projects are not backwards compatible with PPro CS6
Go to the bottom of reply page #5 in The PPro/Encore tutorial list in http://forums.adobe.com/message/2276578 for a link to a tutorial video -
Does the siri works in the middle east ?
does the sisr works in the middle east and what feauture i can use there ?
Yes, you can use it in Sweden on roaming, or anywhere else in the world. It will cost a fair bit though, as carriers charge high prices for using mobile phones abroad. In fact, a substantial amount of their annual profits come from charging roaming customers (a few years ago I seem to recall some operators making a quarter of their annual profits from this relatively small segment of the market).
But you can't swap the SIM for a Swedish one and use a domestic carrier directly. -
Does the Mac mini work with my current keyboard and mouse ?
Does the mini work with my current mouse and keyboard? HDTV ?
TV yes if it has a VGA, HDMI or DVI input
Mouse and keyboard: I have no idea since you provided no information as to which ones you have.
Any mouse and keyboard with USB connections will work included ones for a PC. -
Applet works in appletviewer but not in IE - Applet notinited
Hi, i have written a simple applet which uses swing components, ie swing labels and buttons. The buttons and labels also have icons with the text. The icons are in a folder called "icons" inside the same folder that the class is in. Everything works fine in the appletviewer, the icons are all displayed correctly, however when i try to open it through Internet Explorer i get this error in the java console window:
Java(TM) Plug-in: Version 1.4.0
Using JRE version 1.4.0 Java HotSpot(TM) Client VM
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
java.security.AccessControlException: access denied (java.io.FilePermission icons/world.jpg read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkRead(SecurityManager.java:887)
at sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:408)
at sun.awt.SunToolkit.getImage(SunToolkit.java:422)
at javax.swing.ImageIcon.<init>(ImageIcon.java:81)
at javax.swing.ImageIcon.<init>(ImageIcon.java:107)
at atm.init(atm.java:23)
at sun.applet.AppletPanel.run(AppletPanel.java:341)
at java.lang.Thread.run(Thread.java:536)
Can anyone help me with this problem? I desperately need this applet working in the browser and not just the appletviewer.
Many thanks in advance,
AdrianHi, i don't think it is a problem with the security settings, the problem definately lies in these lines
inside the init method:
Icon worldIcon = new ImageIcon(getDocumentBase(),"icons/world.jpg");
JLabel myIconLbl = new JLabel("My Icon and Label", worldIcon, SwingConstants.CENTER);
add(myIconLbl);
If i take the ' getDocumentBase() ' part out of the first line, the applet compiles and the worldIcon is correctly displayed in the appletviewer but not in Internet Explorer (the problem i orriginally sited).
However by leaving the getDocumentBase() line in the code, the applet correctly compiles but does not show the icons at all in either appletviewer or IE!!
Any suggestions?
Adrian -
Applet works on eclipse but not on reg browser (not inited error)
Hi everybody,
I've just made an applet, but I don't know why it can't be shown. I'm working with Eclipse, and when I run the .java file, everything works fine. It even works fine when I specify parameters through the eclipse build file parameter arguments.
Now I would like this to work by using the appletviewer and my html file. When I do this, the application doesn't work anymore and I get this error: Start applet not inited and shows loading java Applet failed when I scroll over to the java applet box on the browser. (Mozilla)
I used this code in the html file:
<html>
<head>
<title>MicroToolBus Example Plugin Applet 2 </title>
</head>
<body>
<h1>MicroToolBus Example Plugin Applet 2 </h1>
<hr>
<applet code =MicroToolBus.class width=400 height=100>
<param name="ModelName" value="edu.vt.vbi.pathport.client.plugin.microarray.MicroarrayModel">
<param name="DataLocation" value="c:/eclipse/workspace/PathPort/xml/samples/mageml/pmml.xml">
</applet>
</hr>
</body>
</html>
which is located at
C:\eclipse\workspace\PathPort\build\edu\vt\vbi\pathport\client\toolbus\MicroToolBus.html
The MicroToolBus.class file is located in the same directory. What am I doing wrong. I tried putting the class file and the html in the same directory as the actual .java file of the applet, but that didn't seem to work either. Thanks in advance; your help and suggestions are much appreciated,What am I doing wrong?Your getting caught in the Sun/Microsoft war. Numerous casualties. For rehab, see:
http://www.MartinRinehart.com
Click "Articles", "Launching Applets".
Warning: make a big mug of java before you start. This is not trivial stuff. -
How to make a Java Applet work beyond proxy?
Hi All,
I have problems with my applet working through proxy.I am using a client applet which makes a socket connection to a Java application running on the same pc as the web server.
Everything works fine when I am directly connected.However it does't work when connected through a proxy? I am using object o/p & i/p streams for the exchange of data b/w client applet & the server java application.How do I overcome this problem.
Currently I am using WinGate 3.0.2 as my proxy(I did't see any firewaal setting there) but I intend to make applet work through any proxy for that matter.Using a higher level protocol such as UDP would help in this regard?
This is urgent.PLease reply ASAP...
best rgds,
prithviTry to use http, i don't thing direct open the socket can pass throught the socket if your proxy haven't forward those ports~
Hi All,
I have problems with my applet working through
gh proxy.I am using a client applet which makes a
socket connection to a Java application running on the
same pc as the web server.
Everything works fine when I am directly
ly connected.However it does't work when connected
through a proxy? I am using object o/p & i/p streams
for the exchange of data b/w client applet & the
server java application.How do I overcome this
problem.
Currently I am using WinGate 3.0.2 as my proxy(I
(I did't see any firewaal setting there) but I intend
to make applet work through any proxy for that
matter.Using a higher level protocol such as UDP would
help in this regard?i think UDP/TCP is not the matter for that!
This is urgent.PLease reply ASAP...
best rgds,
prithvi -
Applet work with JRE 7_51 but NOT with JRE 7_45
Hello,
My major problem is, that my Applet signed with COMODO certificate DOES NOT WORK with JRE 7_45.
The SAME applet works fine with JRE 7_45, if I sign this applet WITH A SELFMADE UNTRUSTED certificate.
WHY the comodo signed applet doesn't run in JRE 7_45 ???
If i launch the comodo signed applet with JRE 7_51 it works perfect !!!
But in our company we got JRE 7_45 and I have to deal with JRE 7_45. That’s my problem.
Could you please tell me a solution what I have to do that the comodo signed applet works also in JRE 7_45.
Thank you!
PhilippThanks gimbal2.
I agree the problem may be in the proxy or in the firewall but I don' to know how to prove it as if i call the servlet url from browser I dont have problems .
The version im using is 6.45 but im sure the same problem occurs also with other versions of JRE6 .
... and the problem disappear with JRE7 ...
trouble is my company want people to use JRE6
any idea ?
Gio
Maybe you are looking for
-
HT201320 How do I enter a new password into my ipad mini?
My BtYahoo account was "compromised" on the evening of 4th Feb......it affected tablets etc. As requested by BT Internet I changed my password and did all the other listed checks without finding anything untoward. I can use my desktop and iphone,
-
MSI Notebook GX640, black screen with games
I own for two years MSI Notebook G series GX640 (Intel Core i5-460M, Ati Mobility RadeonHD 5850, 4GB RAM, 500 GB HDD). Recently I had to send it to the manufacturer because of a audiocard malfunction. It was the last call to do it on the warranty. It
-
Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies.
-
IOS 5 Sound Quality and Sound Check issues
So since upgrading my iPod to iOS 5 the sound quality of my music has deteriorated massively and sound check no longer works as it should. Tracks sound crackly and audio volume will remain balanced for a few tracks when sound check is on, then all of
-
My Creative Cloud wont show the Apps, it says download Error contact support. And on the Home Menu on the creative cloud for MAC desktop it just loads and loads and never stops. Help please!!