Isn't it a bad practice to call setDefaultLookAndFeel()?

Great question!

See here for some related discussion. My take is: if you are developing plugins then avoid using setDefaultLookAndFeel()