FancyDisplay.java

1    package model; 
2     
3    class FancyDisplay { 
4        void setText(String text) 
5        { 
6            // shows text in LCD display 
7            System.out.println("LCD Display: " + text); 
8        } 
9         
10       void clear() { 
11           // removes text from display 
12           System.out.println("LCD Display clear"); 
13       } 
14   }