Class UtilitiesGUIDefaults

java.lang.Object
com.compomics.util.gui.UtilitiesGUIDefaults

public class UtilitiesGUIDefaults
extends Object
This class contains a list of GUI defaults to be used across the tools using the utilities library to make sure that the tools have the same look and feel.
Author:
Harald Barsnes
  • Constructor Details

  • Method Details

    • setLookAndFeel

      public static boolean setLookAndFeel() throws IOException
      Sets the look and feel to the default utilities look and feel. First tries to use Nimbus, if Nimbus is not supported then PlasticXPLookAndFeel is used.
      Returns:
      true if the Nimbus look and feel is used, false otherwise
      Throws:
      IOException - exception somehow thrown when starting from a zip file