The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

This topic is READ ONLY
import-bot (20211) [Avatar] Offline
#1
[Originally posted by goldhahn]

I'm experimenting with the scarcely documented Multiplexing Look & Feel. As
you point out in your book on page 70, Swing emits a lot of trace to
System.err.
You further suggest a way around this. This doesn't help. I look at the source
code shows what's actually happening: MultiLookAndFeel.getDefaults()
instanciates the UIDefault table as a MultiUIDefaults(). It is the getUIError
() method of this class that issues all the errors. All auxiliary LAFs are
appended to this table, i.e. our own getUIError() is never called.

The only way around I found is to set the swing.plaf.multiplexinglaf property
in swing.properties to my own child class of MultiLookAndFeel and override the
getUIError method.

Is there an easier way of doing this? Am I missing something out and your code
is working after all?

Martin Goldhahn
import-bot (20211) [Avatar] Offline
#2
Re: Multiplexing LAF
[Originally posted by goldhahn]

I should probably mention that the book I referring to is "JFC Swing
Reference" by Stephen Drye and William Wake