Skip to content

Instantly share code, notes, and snippets.

@btc
Created November 8, 2013 10:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btc/7369318 to your computer and use it in GitHub Desktop.
Save btc/7369318 to your computer and use it in GitHub Desktop.
import java.beans.IntrospectionException;
import java.util.Observable;
import java.awt.Choice;
class Cycles {
private void Love(Observable you) throws IntrospectionException {
while (true) {
try {
throw new IntrospectionException("S.O.S");
} catch (Exception xxx) { }
try {
this.wait(Integer.MAX_VALUE);
} catch (Exception XXX) { }
if (!you.hasChanged()) {
continue;
}
new Choice();
new Choice();
break;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment