Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Java System.out.println()
Name: SNYP40A1 Date: November 27, 2004 at 12:37:57 Pacific OS: Windows XP CPU/Ram: P4 / 2.4
Comment:
I am attempting to program in java. I write statements like System.out.println('a'), and in Blue J, when I execute the program, it will open a terminal window to output the 'a'. However, if I compile my program and compress it into a .jar file, then execute it, it will not print out the 'a'. I think this is because there is no terminal window to print the 'a' out on. So how can I open a terminal window in my program? This project annoys me.
Thanks, Houston
Avoid Intel Celeron CPUs, buy an AMD instead. Avoid Nokia, go Motorola instead.
Summary: In its simplest form, exec() is quite easy to use: Process p = Runtime.getRuntime().exec("/bin/ls"); "The problem with this form is that it gets you nowhere. When Java forks a new process it redirect...
Summary: I have seen many examples of how to detect collisions with java but i am finding it difficult to figure out where in the program to put the routines. any help much appreciated. I have a code below tha...
Summary: Hi, can anybody tell me how to print a text file using java print api in version 1.4 I've made some changes to the sample provided by sun to print a text file.. the below code.. public class PrintGIF...