setBounds in constructor
hasState method