GraphicsEnvironment
-related utilities.-
Method Summary
Modifier and TypeMethodDescriptionvoid
overrideGraphicsEnvironment
(GraphicsEnvironment overriddenGE) OverrideGraphicsEnvironment.getLocalGraphicsEnvironment()
with custom instance.void
OverrideGraphicsEnvironment.getLocalGraphicsEnvironment()
with custom provider.
-
Method Details
-
setLocalGraphicsEnvironmentProvider
OverrideGraphicsEnvironment.getLocalGraphicsEnvironment()
with custom provider. Provider is called only once, returned value is cached. Calling this method afterGraphicsEnvironment
initialization (e.g. afterGraphicsEnvironment.getLocalGraphicsEnvironment()
was called) will have no effect.- Parameters:
geProvider
- GraphicsEnvironment provider
-
overrideGraphicsEnvironment
OverrideGraphicsEnvironment.getLocalGraphicsEnvironment()
with custom instance. Calling this method afterGraphicsEnvironment
initialization (e.g. afterGraphicsEnvironment.getLocalGraphicsEnvironment()
was called) will have no effect.- Parameters:
overriddenGE
- new GraphicsEnvironment
-