Java/Experts

ExpertAverage RatingsExpertise

Artemus Harper

U.S.
Available
I have a Masters in computer science. I can answer questions on core J2SE, swing and graphics. Please no questions about JSP or J2ME.

Recent Answers

2014-08-13 Calling a file selected in new button in Java:

You put the file variable outside of the method in the class as a field, in the same way you have _fileChooser as a field.    Just make sure you check the file for null in case the user clicks the hash

2014-08-08 Compare alternate lines in txt file in Java:

Let's say you want to determine if there are any potentially duplicate files if your hash text file.    Then you could do something like:    <code>    //This try will auto close the reader when your done

2014-08-04 Automatically copy a file in Java:

If you know the name of the file and the directory it is in, you can use listFiles() to get a list of all files, and isDirectory() to determine if it is a directory you want to traverse.    If it put a

More Answers in Category Java


Java

All Answers


Answers by Expert:


Ask Experts

Volunteer


©2014 About.com. All rights reserved.