Class DrawStringDemo

    • Constructor Detail

      • DrawStringDemo

        public DrawStringDemo​(String title)
        Creates a new demo instance.
        Parameters:
        title - the frame title.
    • Method Detail

      • stateChanged

        public void stateChanged​(ChangeEvent event)
        Receives change event notification from the slider.
        Specified by:
        stateChanged in interface ChangeListener
        Parameters:
        event - the event.
      • main

        public static void main​(String[] args)
        The starting point for the demo.
        Parameters:
        args - ignored.