Original Post
public class FileStructure
{
public void addDirectory(File root, boolean subfolders) throws
InvalidDirectoryException
{
//...
}
public void removeDirectory(File root)
{
//...
}
public boolean updateFileStructure()
{
//...
}
public Vector describe()
{
//...
}
public DefaultMutableTreeNode describe()
{
//...
}
private class InvalidDirectoryException extends Exception
{
public InvalidDirectoryException()
{
}
}
}
When I try to compile this class (using jdk1.4.2) I keep getting an error telling me that describe() has already been defined. But I know that its possible to create more than one method of the same name in a class... Why isn''t it working here???
Thanks in advance...
SketchSoft OFFLINE | SketchNews OFFLINE | NewKlear Studios