You define it in the main method and it will be used everywhere.
This is the main screen's main method:
Example:
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
MainScreen mainWindow = new MainScreen();
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
mainWindow.frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}