how i can change a swing application LAF by command line parameters ?
Joined: Jul 14, 2005
Hi Thank you for reading my post. is there any way to change an application LAF using some command line arguments ? I luunch the application by using a bat file , just using java -jar ramina.jar now i want to change the LAF using some runtime parameter , is it do able ?
Joined: Jun 18, 2005
A simple search on Google shows how:
Specifying the Look and Feel: Command Line
You can specify the look and feel at the command line by using the -D flag to set the swing.defaultlaf property. For example: