aspose file tools*
The moose likes Applets and the fly likes Trivial question - applets written in year 2000 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Trivial question - applets written in year 2000 " Watch "Trivial question - applets written in year 2000 " New topic
Author

Trivial question - applets written in year 2000

David Payne
Ranch Hand

Joined: May 27, 2012
Posts: 35
Will applets written in sometime around 2000 work in today's computers and browsers ? If not, is there a way to make them work ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41500
    
  53
They should work; have you encountered one that doesn't?


Ping & DNS - my free Android networking tools app
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4340
    
    2

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


SCJP
Visit my download page
David Payne
Ranch Hand

Joined: May 27, 2012
Posts: 35
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
Marshal

Joined: Mar 22, 2005
Posts: 41500
    
  53
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trivial question - applets written in year 2000