Can I use two different look and feels in the same Swing application?

前端 未结 3 519
渐次进展
渐次进展 2020-12-09 12:57

I\'m using the Flamingo ribbon and the Substance Office 2007 look and feel.

Of course now every control has this look and feel, even those on dialog

3条回答
  •  余生分开走
    2020-12-09 13:32

    Swing unfortunately does lots of "psuedo-global" things behind the scenes. AFAIK, the only way to do it consistently is to use the private AppContext API. Each AppContext has its own event dispatch thread and other "psuedo-globals".

提交回复
热议问题