image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Design & Media

Reply
 
Thread Tools
  #1  
Old November 22nd, 2002, 08:26 PM
orko's Avatar
Registered User
 
Join Date: Sep 2002
Location: Ohio
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
orko is on a distinguished road
Need java/mac help asap

I am new the the mac and java programming. I have a program due this Tuesday and I need to read data from a file. How do I go about this. I am using NetbeansIDE 3.4. the file is just a .rtf and I have it in my user folder.
Reply With Quote
  #2  
Old November 24th, 2002, 11:39 PM
symphonix's Avatar
Scratch & Sniff Committee
 
Join Date: Jul 2001
Location: The Australian Jungles
Posts: 4,025
Thanks: 2
Thanked 2 Times in 2 Posts
symphonix is on a distinguished road
Pick up any java textbook and look up file input streams. I am just learning this bit myself, and it is a little to detailed to post here. You'll need to have an understanding of how to handle exceptions as you can't put in a file input stream without catching certain types of exceptions such as file not found or disk errors.
__________________
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white
Reply With Quote
  #3  
Old November 27th, 2002, 08:38 PM
wiz wiz is offline
Registered User
 
Join Date: Jul 2002
Location: Sol
Posts: 537
Thanks: 0
Thanked 0 Times in 0 Posts
wiz is on a distinguished road

Last edited by wiz; November 27th, 2002 at 08:44 PM.
Reply With Quote
  #4  
Old November 30th, 2002, 07:14 PM
orko's Avatar
Registered User
 
Join Date: Sep 2002
Location: Ohio
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
orko is on a distinguished road
I got it working thanx for replying tho.
Reply With Quote
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP ASAP! My powerpoint project won't work on PC! Dlatu1983 Mac OS X System & Mac Software 5 November 5th, 2003 06:51 AM
urgent airport question...need help ASAP! Dlatu1983 Networking & Compatibility 6 August 24th, 2003 12:35 PM
airport help needed ASAP metfoo Mac OS X System & Mac Software 1 November 5th, 2002 06:27 PM
Please help asap printer probs THEMACER Mac OS X System & Mac Software 10 September 9th, 2002 04:44 PM
Help! Need ADDUSER ASAP!!!! bladedog Mac OS X System & Mac Software 4 October 18th, 2001 02:10 PM


All times are GMT -5. The time now is 03:04 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.