*/
package habeas;
-import java.sql.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.UIManager;
*/
public static void main(String[] args) {
// TODO code application logic here
- Utility.getConnectionURL();
+ Utility.retrieveConnectionURL();
+ Utility.retrieveStationerySettings();
try {
- UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
- } catch (ClassNotFoundException ex) {
- Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
- } catch (InstantiationException ex) {
- Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
- } catch (IllegalAccessException ex) {
- Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
- } catch (UnsupportedLookAndFeelException ex) {
+ UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
+ } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException ex) {
Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
}
-
MainFrame frame = new MainFrame ();
frame.setVisible(true);
}