congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
PgsLookAndFeel.setCurrentTheme
Code IndexAdd Tabnine to your IDE (free)

How to use
setCurrentTheme
method
in
com.pagosoft.plaf.PgsLookAndFeel

Best Java code snippets using com.pagosoft.plaf.PgsLookAndFeel.setCurrentTheme (Showing top 5 results out of 315)

origin: com.github.arnabk/pgslookandfeel

public static void setCurrentTheme(MetalTheme t) {
  PgsLookAndFeel.setCurrentTheme(t);
}
origin: violetumleditor/violetumleditor

@Override
protected void configure()
{
  VistaTheme vistaTheme = new VistaTheme()
  {
    public ColorUIResource getMenuBackground()
    {
      return new ColorUIResource(new Color(255, 255, 255));
    }
    public ColorUIResource getSecondary3()
    {
      return new ColorUIResource(new Color(224, 231, 242));
    }
  };
  PgsLookAndFeel.setCurrentTheme(vistaTheme);
}
origin: violetumleditor/violetumleditor

@Override
protected void configure()
{
  UIDefaults defaults = UIManager.getDefaults();
  Map<String, Object> m = new HashMap<String, Object>();
  m.put("MenuItem.background", new Color(255, 255, 255));
  m.put("MenuBar.background", new Color(255, 255, 255));
  defaults.putAll(m);
  BlackTheme vistaTheme = new BlackTheme()
  {
    public ColorUIResource getMenuBackground()
    {
      return new ColorUIResource(new Color(255, 255, 255));
    }
    public ColorUIResource getSecondary3()
    {
      return new ColorUIResource(new Color(224, 231, 242));
    }
  };
  PgsLookAndFeel.setCurrentTheme(vistaTheme);
}

origin: violetumleditor/violetumleditor

@Override
protected void configure()
{
  UIDefaults defaults = UIManager.getDefaults();
  Map<String, Object> m = new HashMap<String, Object>();
  m.put("MenuItem.background", new Color(255, 255, 255));
  m.put("MenuBar.background", new Color(255, 255, 255));
  defaults.putAll(m);
  BlackTheme vistaTheme = new BlackTheme()
  {
    public ColorUIResource getMenuBackground()
    {
      return new ColorUIResource(new Color(255, 255, 255));
    }
    public ColorUIResource getSecondary3()
    {
      return new ColorUIResource(new Color(244, 244, 244));
    }
  };
  PgsLookAndFeel.setCurrentTheme(vistaTheme);
}

origin: com.github.arnabk/pgslookandfeel

  setCurrentTheme(theme);
} else {
  logger.warning("Could not create theme from pgs.properties");
com.pagosoft.plafPgsLookAndFeelsetCurrentTheme

Popular methods of PgsLookAndFeel

  • getControl
  • getControlDarkShadow
  • getControlDisabled
  • getControlHighlight
  • getControlInfo
  • getControlShadow
  • getCurrentTheme
  • getGlow
  • getPrimaryControl
  • getPrimaryControlDarkShadow
  • getPrimaryControlHighlight
  • getPrimaryControlInfo
  • getPrimaryControlHighlight,
  • getPrimaryControlInfo,
  • getPrimaryControlShadow,
  • getPropertyBoolValue,
  • getPropertyStyleValue,
  • makeIcon,
  • setAsLookAndFeel,
  • updateAllUIs

Popular in Java

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
  • onRequestPermissionsResult (Fragment)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Notification (javax.management)
  • JPanel (javax.swing)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now