posted 10 years ago
Hello, I'm trying to use Darryl's proportionate panel (and also his stretch icon class) for a chess program. I copied the two classes (ProportionatePanel and ProportionateDimension) into the end of my class, and then attempted to initialize a panel in the same way as used in the example program. However, netbeans keeps telling me that it can't find "class ProportionatePanel, which seems weird to me since the class is literally sitting right there in the same file. Anyone know what could be going wrong? Here is my code: