Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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: 6507
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
 
Just the other day, I was thinking ... about this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic