Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

awt applet java version issue

 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My company is running an awt applet that has behave quite well until java5. The release of java5, has raised a huge issue of "How to ensure applets are run in a particular plugin?" I have JDK 1.3 - 1.5 installed. The Java control pannel only lets me select applets to run in 1.5. Any suggestions???


My minor issue is that now in the java5 plugin TextArea scroll bars. As I append text to the end of a TextArea the scroll bar does not always scroll to the end of the appended text. In prior plugins it all worked quite well.


Some days is does not pay to give up a J2EE gig.
 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the idea here lies in which version you compile your applet in. Use this to compile in desired version -

javac -target <version> AppletName.java

Hope this helps. I cant test this as i dont have a JDK on this pc.
 
peter cooke
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually I want to control what version of java the applet runs under.

If you see the java control panel (jkd 1.5)-> java -> java applet runtime settings-> view

Looks like there is a way to choose what JVM to run applet in. However it does not provide me with a way to add jdk 1.2 1.3 1.4 or more precisely can I say that MyApplet must run under MS IE 1.8?
 
I don't like that guy. The tiny ad agrees with me.
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic