Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-29-2007, 05:48 PM
Member
 
Join Date: Nov 2007
Posts: 17
dubdubdub has a little shameless behaviour in the past
results to code disappear too fast for DOS window
hi
This question used to come up all the time in the C/C++ email group I was in, were when one was trying out code the results would show briefly then disappear. I had a look down the first 8 pages, maybe it is me but could not see the search tool.

To get over this problem I have used this in my batch file to send the results to a text file called results.txt

java VolcanoApplication > results.txt

The code works great as the results are found in the text file, In C/C++ I used to recommend, Get the code to ask user it input a another variable at the end of the code.

Not sure if the apple viewer would brink up a *.class file, as gar as I know it only works on a *.HTML e.g.
appleviewer testCode.html

The VolcanoApplication is code found in "teach yourself java in 21 days", (I have had the book for more than ................... never mind), thanks
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-29-2007, 06:35 PM
tim's Avatar
tim tim is offline
Senior Member
 
Join Date: Dec 2007
Location: South Africa
Posts: 334
tim is on a distinguished road
Me too
Hello dubdubdub.

I am currently using the same book. I recommend that you use Netbeans. It's on the book's CD. It has an text output window where, unlike DOS, you can scroll through all the output without it disappearing. Give it a try. Output is displayed when you run or debug. I haven't managed to get DOS to give output, but if you start using Swing, that won't be needed.

Hope this helps.
__________________
If your ship has not come in yet then build a lighthouse.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 12-29-2007, 06:51 PM
Member
 
Join Date: Nov 2007
Posts: 17
dubdubdub has a little shameless behaviour in the past
Thank Tim you I have installed the program
This is the forth edition, Java 2 version 5 I have
I see there is a new book out now in the same series Java 2 version 6

From Eric
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 12-29-2007, 07:07 PM
Member
 
Join Date: Nov 2007
Posts: 17
dubdubdub has a little shameless behaviour in the past
Oh silly me
On the CDROM I see it is Netbeans 4

Netbeans 6 is available for download, I found via google
NetBeans IDE 6.0 Download
at 96 Meg
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
date and calender not getting the right results valoyivd New To Java 4 04-14-2008 01:51 PM
BigInteger remainder results in zero perito New To Java 1 03-21-2008 06:07 PM
Fast Data Transfer 0.8.5 JavaBean Java Announcements 0 11-12-2007 08:11 PM
Fast Data Transfer 0.6.7 Jamie Java Announcements 0 06-14-2007 04:55 PM
Fast Data Transfer 0.6.4 levent Java Announcements 0 05-21-2007 12:11 PM


All times are GMT +3. The time now is 02:18 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org