Solved

Looking for output.

Posted on 1998-03-11
3
149 Views
Last Modified: 2010-04-16
Here is a dumb question.  I just started to learn Java and a book I bought, 1001 Java Programmer's Tips, has been very helpful.  In the book it uses a method for debugging.

System.out.println("displayed text");

I never see the text "displayed text."  The book says it displays in the "console."  I don't know what they are referring to as the console.

I am using the Java which came with my Borland C++ 5.01 and running the applet through Netscape Navigator 4.0.

Thanks for your help.

AJY
0
Comment
Question by:youngs101497
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
jpk041897 earned 20 total points
ID: 1233514
System.out.println() is usualy used for "Console" applications, i.e.: not for appletts but for programs that run inside a DOS box.

Foutunatley, Netscape provides a way to see the output of this call. Select the Communicator menu and choose Java Console. You will see the text there.
0
 

Author Comment

by:youngs101497
ID: 1233515
See I told you the question was dumb
0
 
LVL 6

Expert Comment

by:jpk041897
ID: 1233516
No such thing as a dumb question! Answers on the other hand ... :-)

BTW, don't discard this technique only because its generaly not used for applets. Sometimes it works out as a grat debuffing tool.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to start Neon 20 82
split string containing \r\n in Java 46 38
windows explorer path to command prompt 5 27
factorial example 4 34
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now