Re: [SLUG] Java question

From: Andrew M. Hoerter (amh@pobox.com)
Date: Sat Nov 01 2003 - 12:36:40 EST


On Sat, 1 Nov 2003, Russ Wright wrote:

> It all seems to work except the status bar is not displaying the question.
> See function generateQuestion. Any ideas?

You're doing everything inside the init() method, which is actually
supposed to be used for pre-runtime initialization. Evidently updating
the status bar doesn't actually do anything until the applet begins to
execute (i.e. the start() method is called). If you change:

public void init()

to:

public void start()

The code seems to work perfectly.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:35:59 EDT