This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

looool

By: a guest on Dec 17th, 2011  |  syntax: None  |  size: 0.71 KB  |  views: 57  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. import java.awt.*;
  2. import java.net.*;
  3.  
  4. public class AngerManager {
  5.        
  6.         private static Mood currentMood;
  7.         public static String name = "Underoath";
  8.         public static boolean isMad = (name.contains("Underoath") ? true : false);
  9.         public static enum Mood {
  10.                 MAD, ANGERED, HAPPY, SAD, JOLLO
  11.         }
  12.         public static void main(String args[]) {
  13.                 System.out.println(isMad ? "Are you angered " + name : "YOU JOLLO?");
  14.                 currentMood = (isMad ? Mood.ANGERED : Mood.JOLLO);
  15.                 try {
  16.                         Desktop.getDesktop().browse(new URI((currentMood == Mood.ANGERED ? "http://i42.tinypic.com/ogxn5s.png" : "http://3.bp.blogspot.com/_v0uCKbBsdFE/THgPfENYr1I/AAAAAAAAABw/snjwOBUmots/s1600/u+jollo.jpg")));
  17.                 } catch (Exception e) {
  18.                 }
  19.         }
  20.        
  21. }
clone this paste RAW Paste Data