[4010] in java-interest

home help back first fref pref prev next nref lref last post

Re: your mail

daemon@ATHENA.MIT.EDU (Aaron Shtromas)
Thu Dec 7 12:10:41 1995

Date: Thu, 7 Dec 1995 09:07:26 -0500 (EST)
From: Aaron Shtromas <ams@mci.net>
To: "John D. Kane" <john@insightnews.com>
cc: "'java-interest@java.sun.com'" <java-interest@java.sun.com>
In-Reply-To: <30C6B1D3@insightnews.com>

On Thu, 7 Dec 1995, John D. Kane wrote:

i think, in netscape 2.02b or 2.03b you can open a netscape console
from the options menu. it seems, it is only appears there if your
applet uses System.out. 

-a
> 
> While I play with applets, I like to place output strings throughout the 
> code, just to make sure the applet reaches certain critical points. 
>  However, I'm never sure what the applet does as none of the debugging 
> strings I use in the program ever show up (or rarely show up) -- I think 
> it's a combination of threading and repainting. So I started using sounds at 
> certain places in the program to see if execution reached that point. Even 
> though this works ok, I'd much rather see string messages displayed in a 
> window. What I should do before playing around with too many more applets is 
> find a way of displaying output on the screen while the program runs, no 
> matter what, so I can easily trace the program execution. Otherwise I never 
> know if an applet ends or aborts. I tried using showStatus(), but the status 
> line information rarely stays for long, if I see it flash by at all.
> 
> I'm writing Beta applets and using Netscape to view them, but I don't think 
> any of the System.out (or whatever the commands are for standard output) 
> work at all. When I try to put strings into the repaint method, I have 
> strings repainted over top of strings fast enough that this method is rather 
> useless. I thought that I might be able to write information to a file, but 
> is there an easier method, like the debugger -- I still haven't got that 
> thing to run yet (I haven't downloaded the new JDK 2.0 w/interactive 
> debugger yet either). I'm looking for a clean, slick, and rather painless 
> way of doing this. Any suggestions?
>                                    John
> -
> This message was sent to the java-interest mailing list
> Info: send 'help' to java-interest-request@java.sun.com
> 

----------------------------------------------------------------
Aaron Shtromas                          MCI Internet Engineering
ams@mci.net                             2100 Reston Parkway
Tel. 703-715-7334                       Reston, VA 22091

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post