<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*
 * YDVPlainTextFrame.java
 *
 * Created on 1. Mai 2000, 15:28
 */
 
package YARB.Viewer;
import YARB.Interfaces.*;

/** 
 *
 * @author  Thomas
 * @version 
 */
public class YDVPlainTextFrame extends javax.swing.JInternalFrame {

  /** Creates new form YDVPlainTextFrame */
  public YDVPlainTextFrame() {
    initComponents ();
    m_data=null;
  }
  
  private IDataHolder m_data;
  
  public YDVPlainTextFrame(String strTitle){
    super(strTitle);
    initComponents();
    m_data=null;
  }
  
  public YDVPlainTextFrame(String strTitle, IDataHolder dataholder){
    super(strTitle);
    initComponents();
    setDataHolder(dataholder);
  }
    

  /** This method is called from within the constructor to
   * initialize the form.
   * WARNING: Do NOT modify this code. The content of this method is
   * always regenerated by the FormEditor.
   */
  private void initComponents () {//GEN-BEGIN:initComponents
    jScrollPane1 = new javax.swing.JScrollPane ();
    PatternText = new javax.swing.JTextPane ();
    getContentPane ().setLayout (new java.awt.BorderLayout ());


  
      jScrollPane1.setViewportView (PatternText);
  

    getContentPane ().add (jScrollPane1, java.awt.BorderLayout.CENTER);

  }//GEN-END:initComponents


  // Variables declaration - do not modify//GEN-BEGIN:variables
  private javax.swing.JScrollPane jScrollPane1;
  private javax.swing.JTextPane PatternText;
  // End of variables declaration//GEN-END:variables

  public void setDataHolder(IDataHolder data){
    m_data=data;
  }
}</pre></body></html>