// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://kpdus.tripod.com/jad.html // Decompiler options: packimports(3) // Source File Name: C:\Sergey\Java\Plota\PanelOut.java import java.awt.*; class PanelOut extends TextArea implements Runnable { public void start() { if(m_Runner == null) { m_Runner = new Thread(this); m_Runner.start(); } } public void stop() { if(m_Runner != null) { m_Runner.stop(); m_Runner = null; } } public void printstr(String str) { appendText(str); m_bInvalid = true; } public void clear() { setText(""); m_bInvalid = true; } PanelOut(Calca applet) { m_pszX = 300; m_pszY = 200; m_bInvalid = true; m_Applet = applet; setEditable(true); setFont(new Font("Helvetica", 1, 12)); clear(); } public void run() { do { if(m_bInvalid) { repaint(); m_bInvalid = false; } try { Thread.sleep(500L); } catch(InterruptedException interruptedexception) { } } while(true); } public void println(String str) { appendText(str + "\n"); m_bInvalid = true; } private Calca m_Applet; private Thread m_Runner; private int m_pszX; private int m_pszY; private boolean m_bInvalid; }