Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6161765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:32:01+00:00 2026-05-23T21:32:01+00:00

I have a Java Applet which takes two Parameters, X1 and X2. The applet’s

  • 0

I have a Java Applet which takes two Parameters, X1 and X2. The applet’s behavior will vary depending on if X1 > 0 or if X2 > 0, and X1 and X2’s state are complementary: when x1 > 0 then x2 < 0, and when x2 > 0 then x1 < 0.

The problem is that every time I load the applet, it loads with the same state as it did on start-up. For example if the first time the applet is loaded with X1 > 0, then every time it uses the X1 > 0 behavior and not the X2 > 0 behavior.

I am loading the parameters in my start() method. If i restart firefox and load the first time with X2 > 0 then the behavior will be always x2 > 0. Is there any way to reload the applet? I tried cache_option and also tried changing the url but neither worked.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:32:02+00:00Added an answer on May 23, 2026 at 9:32 pm

    Use init() method to read parameters. And check that you really get correct parameters every time. Probably your HTML page is cached, so you get the same (old) values of parameters every time.

    BTW if this is the case use Cache-Control: no-cache on server side that generates your page or/and on client side into meta tag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a java applet which opens a JFrame (so when run in
I have a java applet in which I have to display a large amount
I have a question on the java applet.I've created a java applet,which is a
I have a Java applet which doesn't need any special privileges to run (i.e,
i have a java applet application in which i use rich text area .
I have a Java applet embedded into a web page which generates a file
I have a Java Applet which is digitally signed. I need to be able
I have applet which I run in command line like this: C:\Program Files (x86)\Java\jdk1.6.0_21\bin\appletviewer.exe
i have written an Java Applet, which is loaded in HTML and its function
I have an applet which contains some images, regular java classes and class, which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.