This is a senseless post displaying the above mentiooned stuff in whitespace, but I couldn't figure out how it works exactly so just imagine lots of whitespaces below:
package tester;
import java.awt.Desktop;
import java.net.URI;
public class AverageLFSForumMember {
private boolean brainEnabled = true;
private final String[] postingRepertoire = {"when is sciroko coming?", "i need cruise insim", "the devs r idiot's"};
public static void main(String args[]) {
new AverageLFSForumMember();
}
private AverageLFSForumMember() {
browseURL("http://www.lfsforum.net");
enableBrain(false);
while(!isSciroccoReleased()) {
postJunk();
}
postSciroccoReview();
System.exit(0);
}
private void enableBrain(boolean enable) {
brainEnabled = enable;
}
private void browseURL(String url) {
try {
Desktop.getDesktop().browse(new URI(url));
} catch(Exception e) {
// Proper exception handling removed for comic effect
}
}
private boolean isSciroccoReleased() {
return System.currentTimeMillis() > Long.MAX_VALUE;
}
private void postJunk() {
System.out.println(postingRepertoire[(int) (Math.random() * postingRepertoire.length)]);
}
private void postSciroccoReview() {
System.out.println("scirocco sucks");
}
}
private void enableBrain(boolean enable) {
brainEnabled = enable;