Class FakeSMTP

java.lang.Object
com.nilhcem.fakesmtp.FakeSMTP

public final class FakeSMTP extends Object
Entry point of the application.
Since:
1.0
Author:
Nilhcem
  • Method Details

    • main

      public static void main(String[] args)
      Checks command line arguments, sets some specific properties, and runs the main window.

      Before opening the main window, this method will:

      • check command line arguments, and possibly display an error dialog,
      • set a default uncaught exception handler to intercept every uncaught exception;
      • use a custom icon in the Mac Dock;
      • set a property for Mac OS X to take the menu bar off the JFrame;
      • set a property for Mac OS X to set the name of the application menu item;
      • turn off the bold font in all components for swing default theme;
      • use the platform look and feel.
      Parameters:
      args - a list of command line parameters.