mental / minicomic

A tool for assembling web and print comics.

This URL has Read+Write access

mental (author)
Thu Jun 26 17:22:49 -0700 2008
commit  8b3e663b9361f1b051dad25b94450761c3891321
tree    192f10a266f304ad4c7451f81e53c16c591d34b4
parent  7c4e4c2530af46f7e98f9aea0c837c0c8b021ddd
minicomic / lib / minicomic / ui / event-sequencer.rb
100644 16 lines (12 sloc) 0.21 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'java'
 
module Minicomic
module UI
 
class EventSequencer
  def later(&block)
    raise ArgumentError "No block given" unless block
    java.awt.EventQueue.invoke_later block
    self
  end
end
 
end
end