0

From Wikipedia (and some other sources):

Swing's heavy reliance on runtime mechanisms and indirect composition patterns allows it to respond at run time to fundamental changes in its settings.

Google failed me. What is this "indirect composition pattern"? And what makes it "indirect"?

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
Tarnay Kálmán
  • 6,907
  • 5
  • 46
  • 57
  • 1
    [Look and Feel](https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html) is the most pervasive such feature, for [example](http://stackoverflow.com/a/11949899/230513). – trashgod Apr 12 '15 at 23:02

1 Answers1

0

I suppose that author of this statement mean, that Swing is injecting dependencies (composition) underneath (indirect, user doesn't have to know about it happening) and can do it at runtime.

Rafał Łużyński
  • 7,083
  • 5
  • 26
  • 38