• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Using Appletstub I created AppeltEnvironment and initilized applet but I keep getting Invalid Stream

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have followed below link answer: http://stackoverflow.com/a/16095828/5436880

Scenario: I am replicating Website Applet behavior in my Java program, website is https://carelink.minimed.eu/patient/entry.jsp?bhcp=1. I have .Jar file downloaded for a applet. I added it to my Java Project. Using AppletStub I have passed relevant parameters and called classLoader. I am able to open applet window

But I am getting error as Invalid Stram Header:0A0A0A0A error

 
Saloon Keeper
Posts: 6454
158
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what the problem is, but I have had success in the past running an applet as an application via the MainFrame class: https://coderanch.com/wiki/660361/Applets-Faq#application
 
Think of how dumb the average person is. Mathematically, half of them are EVEN DUMBER. Smart tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic