You should use a customized DetailsDialog if you want to set a customized icon, locale or allow others windows to be active at the same time (these properties are not available by the convenient, static DetailsDialog#showDialog methods). Simple text formatting via HTML is supported.

All relevant lines are highlighted. Press the "Run..." button to start the example.