Hi,
What's wrong here: If I have
class a {
void oneMethod { Dimension d = Toolkit.getScreenSize();
..
}
}
I get "non-static method gSS can't be referenced from a static context" compile error. Same happens for GraphicsEnvironment.getCenterPoint().
What's wrong here: If I have
class a {
void oneMethod { Dimension d = Toolkit.getScreenSize();
..
}
}
I get "non-static method gSS can't be referenced from a static context" compile error. Same happens for GraphicsEnvironment.getCenterPoint().