Module org.jcommon

Class GraphicsEnvironmentPanel

    • Constructor Detail

      • GraphicsEnvironmentPanel

        public GraphicsEnvironmentPanel()
        Create a new panel displaying the default GraphicsEnvironment. The GraphicsEnvironment is obtained by GraphicsEnvironment.getLocalGraphicsEnvironment()
      • GraphicsEnvironmentPanel

        public GraphicsEnvironmentPanel​(GraphicsEnvironment ge)
        Create a new panel displaying the given GraphicsEnvironment. If the given environment is null, the default GraphicsEnvironment is obtained by GraphicsEnvironment.getLocalGraphicsEnvironment()
        Parameters:
        ge - the GraphicsEnvironment to display.
    • Method Detail

      • initGUI

        protected void initGUI()
        Initialize the panel GUI components.
      • refreshGUI

        protected void refreshGUI()
        Refresh the panel GUI components.
      • setGraphicsEnvironment

        public void setGraphicsEnvironment​(GraphicsEnvironment ge)
        Set the GraphicsEnvironment displayed within this panel.
        Parameters:
        ge - the GraphicsEnvironment displayed