import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; public class CommandGetUmiRTX implements ActionListener { private JTextArea text; private JTextArea console; private ZSBScreen screen; public CommandGetUmiRTX(JTextArea text, ZSBScreen screen, JTextArea console) { this.text = text; this.screen = screen; this.console = console; } public void actionPerformed(ActionEvent e) { this.text.setText( "90.0 10.82 0.67 0.0 T 0 90" + "\n" + "0.0 .95 2.535 0.0 R 0 90" + "\n" + "0.0 .80 2.535 0.0 R 0 90" + "\n" + "0.0 0.0 0.0 -90.0 R 0 90" + "\n" + "0.0 0.0 0.0 90.0 R 0 90" + "\n" + "0.0 1.89 0.0 0.0 R 0 90" + "\n" + "0.0 0.0 0.0 0.0 T 0 90" ); this.console.insert("Got scaled UmiRTX\n", 0); } }