Class.forName is sufficient since the GE is part of the
implementation, not an end-user definable interface.
So long as that is clear, I can't think of any problem the proposed
change would cause the JDK.
-phil.
Roman Kennke wrote:
Hi there,
I'm playing around with Cacio again, and I'd like
Hi there,
I'm playing around with Cacio again, and I'd like to load an external GE
(and Toolkit) from the standard classpath. But it turns out to be
impossible, because GE.getLocalGraphicsEnvironment() loads the class by
calling Class.forName(), which uses the classloader that loaded the GE
class,