I would like to know if there is a design pattern that would help me to build views differently based on some configuration parameters. For exemple if configuration 1 is enabled then some components are displayed but if configurati开发者_JS百科on 2 is enabled those component are not visible, or on configuration 3 I can display 2 of these component. T
You can do this by showing different "cards" using CardLayout. See How to Use CardLayout.
精彩评论