Modified getters and setters for swing components