Skip to content

Instantly share code, notes, and snippets.

@vilmosioo
Created December 5, 2012 18:13
Show Gist options
  • Save vilmosioo/4218070 to your computer and use it in GitHub Desktop.
Save vilmosioo/4218070 to your computer and use it in GitHub Desktop.
Example of static resources file
public class Resources {
public static String FILENAME = "fileName";
public static Font STANDARD_FONT = new Font("DejaVu Sans", Font.PLAIN, 12);
public static class Colors {
public static Color Blue = new Color(0.3f, 0.5f, 1f);
public static Color Red = new Color(1f, 0.3f, 0.1f);
public static Color Green = new Color(0.3f, 1f, 0.5f);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment