Look up 'Regular Expressions'. This is a good place to start:
Lesson: Regular Expressions (The Java™ Tutorials > Essential Classes)
Type: Posts; User: gdjs
Look up 'Regular Expressions'. This is a good place to start:
Lesson: Regular Expressions (The Java™ Tutorials > Essential Classes)
The FileInputStream class has three constructors:
FileInputStream(File file);
FileInputStream(FileDescriptor fdObj);
FileInputStream(String name);
You're using the third one, correctly...
I'd suggest that you wrap your code in between code tags, so it preserves indentation and receives syntax highlighting. I think more people (including myself) will give a shot at reading it if you do...
Here's what will save you:
javac -help
Swing is a framework that enables you to create graphical user interfaces. It's not a different way of calling methods. Remember that, when calling a method, you must append the suffix '()'.
...