Skip to content

Instantly share code, notes, and snippets.

@mresetar
mresetar / gist:962501
Created May 9, 2011 13:19 — forked from anonymous/gist:800225
UUID generator
import groovy.swing.SwingBuilder
import java.awt.BorderLayout as BL
import java.awt.datatransfer.Clipboard
import java.awt.datatransfer.StringSelection
import java.awt.Toolkit
import javax.swing.*
class UUIDgenerator {
def readIcon() {
byte[] iconBytes = new byte[990]