Help: Read data from file.

2000-11-07 Thread New Java

Hi,

I want to read data from a file.

The data file: mydata.txt

First_Name, Last_Name, Age
John, Paul, 30
David, Lee, 26
:
:

Can I ignore the first line--> the Title and just read
from second line?

Thanks,

David


__
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




How to print String to default Printer, Help

2000-12-04 Thread New Java

Hi, there,

What I want to do is: 
When the following code running,
print "try to be printed" to my default printer, NOT
my screen. Could you help me on it?

Thanks!! (Sorry for the basic stupid question)

David

***

public static void main (String args[]) {
   str_mystring = "try to be printed"


}

***


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]