Hey... don't know why this is happening... I've probably I've done this or things like itat least a few times before...
public class FileTree
{
public static DisplayWindow window;
public void refresh()
{
DisplayWindow temp = FileTree.window;
//temp.pack();
}
public static void main(String[] Args)
{
window = new DisplayWindow(new FileTree(new FileNode(null)));
}
why does the preceeding code not work? I get a NullPointerException whenever I try to run it uncommented..