9. РЕАЛИЗАЦИЯ
// CREATE CONCRETECOMPONENT AND TWO DECORATORS
CONCRETECOMPONENT TEXTVIEW = NEW CONCRETECOMPONENT();
SCROLLDECORATOR SCROLLDECORATOR = NEW SCROLLDECORATOR();
BORDERDECORATOR BORDERDECORATOR = NEW BORDERDECORATOR();
// LINK DECORATORS
SCROLLDECORATOR.SETCOMPONENT(TEXTVIEW);
BORDERDECORATOR.SETCOMPONENT(SCROLLDECORATOR);
SCROLLDECORATOR.DRAW();
BORDERDECORATOR.DRAW();