Simplify jirb_swing script
--------------------------
Key: JRUBY-5554
URL: http://jira.codehaus.org/browse/JRUBY-5554
Project: JRuby
Issue Type: Improvement
Affects Versions: JRuby 1.6RC2
Environment: any
Reporter: Benjamin Gudehus
Assignee: Thomas E Enebo
Since JRUBY-2449 is fixed, jirb_swing may be simplified.
From:
{code}
# We need to show the frame on EDT,
# to avoid deadlocks.
# Once JRUBY-2449 is fixed,
# the code will me simplifed.
class FrameBringer
include java.lang.Runnable
def initialize(frame)
@frame = frame
end
def run
@frame.visible = true
end
end
{code}
To:
{code}
# We need to show the frame on EDT,
# to avoid deadlocks.
EventQueue.invoke_later {
frame.visible = true
}
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email