I've got a TestGUI skin that has a custom panel. So, TestGUICustomUI.java has something like this:
class TestGUICustomUI extends JCustomPanel {
// Fields
JComboBox<String> showStyles = new JComboBox(new String[]{});
{
JAlbumUtilities.fillCombo(showStyles, new File(skinDirectory, "styles"), new StyleFileFilter());
}
// Set up custom UI panel
public TestGUICustomUI(JAlbumContext context) {
super(context);
....etc.
But the
skinDirectory variable is not recognized here. In
TestGUI.java, which extends
CompiledBase, there's no problem.
How do I get the skin directory from here? My usual trial and error method, with things like
CompiledBase.get("skinDirectory"), is failing me.