pane.setViewportView(text);
pane.setBorder(BorderFactory.createLineBorder(Color.darkGray));
console.getContentPane().add(pane);
console.validate();
final TextAreaReadline tar = new TextAreaReadline(text, " Welcome to the JBidwatcher IRB Scripting Console \n\n");
final Ruby runtime = Scripting.getRuntime();
RubyInstanceConfig config = runtime.getInstanceConfig();
config.setObjectSpaceEnabled(true);
Scripting.setOutput(tar.getOutputStream());
Scripting.setInput(tar.getInputStream());
tar.hookIntoRuntime(runtime);
t2 = new Thread() {
public void run() {
console.setVisible(true);
runtime.evalScriptlet("require 'irb'; require 'irb/completion'; IRB.start");