Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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
  • 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

Trivial question - applets written in year 2000

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will applets written in sometime around 2000 work in today's computers and browsers ? If not, is there a way to make them work ?
 
Rancher
Posts: 43016
76
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They should work; have you encountered one that doesn't?
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my experience is they work fine. my only problem was when i refactored one i wrote in 2000 using java 7. i stuck to strickly java 1 code, but my browser wasn't hep to what java 7 was
actually, i had one problem. my 2000 applet had it's background color set to the default which was gray. this worked fine against a white web page. the new default color of white didn't
 
David Payne
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried some of them written in Java 1.3 and 1.4 from sun. The ones written in java 1.0 also worked.
Duh...I should have done a google check first. I am curious to know how applets written in 1.0 can still work in 2012 ?
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A more appropriate question would be: why wouldn't they? Java is designed to be backwards-compatible, meaning code written for version N will work on version M, provided M>=N.
 
You guys haven't done this much, have ya? I suggest you study this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic