This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Open file using thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Open file using thread" Watch "Open file using thread" New topic
Author

Open file using thread

Mauro Trevigno
Ranch Hand

Joined: Aug 27, 2012
Posts: 87

Hi People, I cant open a file using thread.

Any comments would be appreciated.








Thank You!

Regards,
-M
Ivan Jozsef Balazs
Rancher

Joined: May 22, 2012
Posts: 968
    
    5
You seem to make no effort to perform an I/O operation at all.

Besides, starting a thread and immediately joining it do not make much sense for me.

Maybe you should consult a java I/O tutorial.
Mauro Trevigno
Ranch Hand

Joined: Aug 27, 2012
Posts: 87

Ivan Jozsef Balazs wrote:You seem to make no effort to perform an I/O operation at all.

Besides, starting a thread and immediately joining it do not make much sense for me.

Maybe you should consult a java I/O tutorial.


I was having some problem to find where to add the I/O operation, but I resolved now. Thanks for the suggestion.
 
 
subject: Open file using thread
 
It's not a secret anymore!