Thread: Open text file
View Single Post
  #5   Spotlight this post!  
Unread 15-02-2012, 18:12
Herbblood's Avatar
Herbblood Herbblood is offline
Knowledgeable
AKA: Ally
FRC #3044 (OxBE4)
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2008
Location: Ballston Spa
Posts: 247
Herbblood is an unknown quantity at this point
Exclamation Re: Open text file

Okay i got the FileConnection file = (FileConnection) it says unreported exception java.io.IOException must be caught or declared to be thrown,and when i do the try catch if still says that.
As well as i can't(when it is put as FileConnectionfile = new File Connection() is says that the sunsquack is abstract and cannot be instantiated.
Any ideas as what to do please?
If anyone has actual code to open a (.txt) file on netbeans it would be deeply apprectiated!
Thank you.
__________________
Off to WPI!
Go OxBE4

Last edited by Herbblood : 15-02-2012 at 18:59.
Reply With Quote