Results 1 to 3 of 3
  1. #1
    willshire8 is offline Member
    Join Date
    Mar 2012
    Rep Power

    Default Applet Loaded vs Started

    i am brand new to java and just programming itself, so i apologize if this is a dumb question. ok, so i am trying to paint multiple things in an applet and when i run my program, at the bottom of the applet it says applet loaded and it isn't until my program finishes that it finally says applet started at the bottom, and flushes the buffer sending all my images to the screen. how do i flush the buffer earlier, or start my applet earlier without the loaded stage?

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power

    Default Re: Applet Loaded vs Started

    There's a description of the so-called "life cycle" of an applet - the things that happen and associated methods that run - in Oracle's Tutorial on the Life Cycle of an Applet page.

    If you want to know why you aren't seeing what you intend to see when you intend to see it, you will have to post some code. This need not be the code you are working on but just a cut down version that illustrates the problem. You also might want to explain what you mean by "when I run my program" and "until my program finishes" because (as that page explains), unlike an application, the start and end of an applet is under the control of the browser within which it appears.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Applet Loaded vs Started

    Moved from New to Java

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Find a webpage loaded or not
    By vijaymsc in forum Advanced Java
    Replies: 3
    Last Post: 02-02-2011, 04:49 PM
  2. Storing image loaded in applet in mysql database
    By mrvigneshmca in forum Java Applets
    Replies: 1
    Last Post: 03-20-2009, 04:17 PM
  3. Applet not getting started
    By Preethi in forum New To Java
    Replies: 0
    Last Post: 05-27-2008, 03:43 PM
  4. Replies: 0
    Last Post: 02-15-2008, 08:41 AM
  5. newbie: the app is loaded but i can't see it
    By tamayo in forum New To Java
    Replies: 1
    Last Post: 07-21-2007, 08:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts