Source Code Programs
Wednesday, 2 January 2013
Java Swing Tree Model Program :- Model Program Phase 1
import java.io.File;
/**
*
* @author Student
*/
public class MyFile extends File{
public MyFile(String pathname) {
super(pathname);
}
@Override
public String toString() {
return getName();
}
public MyFile(File parent) {
this(parent.getPath());
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment