I'm having problems with Look and Feel of java in Ubuntu. When I run the app it uses GTK (which is good), but when I use sudo the LAF is Metal (which is bad).
SO, how I avoid that behavior? I mean, change the default sudo LAF or something like that because the UIManager from java is not working.
Thanks & Regards,
This is (maybe) because of the theme for root isn't the same.
Try to change the theme by starting the appereance manager as sudo: