Example usage for javax.swing JTextArea JTextArea

List of usage examples for javax.swing JTextArea JTextArea

Introduction

In this page you can find the example usage for javax.swing JTextArea JTextArea.

Prototype

public JTextArea(Document doc) 

Source Link

Document

Constructs a new JTextArea with the given document model, and defaults for all of the other arguments (null, 0, 0).

Usage

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskSwing.CFAsteriskSwingSubProjectAskDeleteJPanel.java

public CFAsteriskSwingSubProjectAskDeleteJPanel(ICFAsteriskSwingSchema argSchema,
        ICFInternetSubProjectObj argFocus) {
    super();//from  ww w  .j a va  2s. com
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    swingFocus = argFocus;
    // Construct the various objects
    textAreaMessage = new JTextArea("Are you sure you want to delete this SubProject?");
    actionOk = new ActionOk();
    actionCancel = new ActionCancel();
    buttonOk = new JButton(actionOk);
    buttonCancel = new JButton(actionCancel);
    attrJPanel = argSchema.getSubProjectFactory().newAttrJPanel(argFocus);
    scrollPane = new CFHSlaveJScrollPane(attrJPanel);
    // Lay out the widgets
    setSize(1024, 480);
    Dimension min = new Dimension(480, 300);
    setMinimumSize(min);
    add(textAreaMessage);
    textAreaMessage.setBounds(0, 0, 1024, 50);
    int xparts = (768 - (2 * 125)) / 3;
    add(buttonOk);
    buttonOk.setBounds(xparts, 55, 125, 40);
    add(buttonCancel);
    buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40);
    add(scrollPane);
    scrollPane.setBounds(0, 100, 1024, 480 - 100);
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskSwing.CFAsteriskSwingSysClusterAskDeleteJPanel.java

public CFAsteriskSwingSysClusterAskDeleteJPanel(ICFAsteriskSwingSchema argSchema,
        ICFSecuritySysClusterObj argFocus) {
    super();/*from   w  ww . j a v a  2 s .  c om*/
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    swingFocus = argFocus;
    // Construct the various objects
    textAreaMessage = new JTextArea("Are you sure you want to delete this Cluster?");
    actionOk = new ActionOk();
    actionCancel = new ActionCancel();
    buttonOk = new JButton(actionOk);
    buttonCancel = new JButton(actionCancel);
    attrJPanel = argSchema.getSysClusterFactory().newAttrJPanel(argFocus);
    scrollPane = new CFHSlaveJScrollPane(attrJPanel);
    // Lay out the widgets
    setSize(1024, 480);
    Dimension min = new Dimension(480, 300);
    setMinimumSize(min);
    add(textAreaMessage);
    textAreaMessage.setBounds(0, 0, 1024, 50);
    int xparts = (768 - (2 * 125)) / 3;
    add(buttonOk);
    buttonOk.setBounds(xparts, 55, 125, 40);
    add(buttonCancel);
    buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40);
    add(scrollPane);
    scrollPane.setBounds(0, 100, 1024, 480 - 100);
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskSwing.CFAsteriskSwingTopProjectAskDeleteJPanel.java

public CFAsteriskSwingTopProjectAskDeleteJPanel(ICFAsteriskSwingSchema argSchema,
        ICFInternetTopProjectObj argFocus) {
    super();//from   w  w  w.j a  v a2  s .  co  m
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    swingFocus = argFocus;
    // Construct the various objects
    textAreaMessage = new JTextArea("Are you sure you want to delete this TopProject?");
    actionOk = new ActionOk();
    actionCancel = new ActionCancel();
    buttonOk = new JButton(actionOk);
    buttonCancel = new JButton(actionCancel);
    attrJPanel = argSchema.getTopProjectFactory().newAttrJPanel(argFocus);
    scrollPane = new CFHSlaveJScrollPane(attrJPanel);
    // Lay out the widgets
    setSize(1024, 480);
    Dimension min = new Dimension(480, 300);
    setMinimumSize(min);
    add(textAreaMessage);
    textAreaMessage.setBounds(0, 0, 1024, 50);
    int xparts = (768 - (2 * 125)) / 3;
    add(buttonOk);
    buttonOk.setBounds(xparts, 55, 125, 40);
    add(buttonCancel);
    buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40);
    add(scrollPane);
    scrollPane.setBounds(0, 100, 1024, 480 - 100);
}

From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_4.CFFreeSwitchSwing.CFFreeSwitchSwingSecDeviceAskDeleteJPanel.java

public CFFreeSwitchSwingSecDeviceAskDeleteJPanel(ICFFreeSwitchSwingSchema argSchema,
        ICFSecuritySecDeviceObj argFocus) {
    super();/* w ww.j av a  2 s.  c o  m*/
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    swingFocus = argFocus;
    // Construct the various objects
    textAreaMessage = new JTextArea("Are you sure you want to delete this Security Device?");
    actionOk = new ActionOk();
    actionCancel = new ActionCancel();
    buttonOk = new JButton(actionOk);
    buttonCancel = new JButton(actionCancel);
    attrJPanel = argSchema.getSecDeviceFactory().newAttrJPanel(argFocus);
    scrollPane = new CFHSlaveJScrollPane(attrJPanel);
    // Lay out the widgets
    setSize(1024, 480);
    Dimension min = new Dimension(480, 300);
    setMinimumSize(min);
    add(textAreaMessage);
    textAreaMessage.setBounds(0, 0, 1024, 50);
    int xparts = (768 - (2 * 125)) / 3;
    add(buttonOk);
    buttonOk.setBounds(xparts, 55, 125, 40);
    add(buttonCancel);
    buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40);
    add(scrollPane);
    scrollPane.setBounds(0, 100, 1024, 480 - 100);
}

From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_4.CFFreeSwitchSwing.CFFreeSwitchSwingTopDomainAskDeleteJPanel.java

public CFFreeSwitchSwingTopDomainAskDeleteJPanel(ICFFreeSwitchSwingSchema argSchema,
        ICFInternetTopDomainObj argFocus) {
    super();//from w  w  w  .java  2  s. c o m
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    swingFocus = argFocus;
    // Construct the various objects
    textAreaMessage = new JTextArea("Are you sure you want to delete this TopDomain?");
    actionOk = new ActionOk();
    actionCancel = new ActionCancel();
    buttonOk = new JButton(actionOk);
    buttonCancel = new JButton(actionCancel);
    attrJPanel = argSchema.getTopDomainFactory().newAttrJPanel(argFocus);
    scrollPane = new CFHSlaveJScrollPane(attrJPanel);
    // Lay out the widgets
    setSize(1024, 480);
    Dimension min = new Dimension(480, 300);
    setMinimumSize(min);
    add(textAreaMessage);
    textAreaMessage.setBounds(0, 0, 1024, 50);
    int xparts = (768 - (2 * 125)) / 3;
    add(buttonOk);
    buttonOk.setBounds(xparts, 55, 125, 40);
    add(buttonCancel);
    buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40);
    add(scrollPane);
    scrollPane.setBounds(0, 100, 1024, 480 - 100);
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskSwing.CFAsteriskSwingAuditActionAskDeleteJPanel.java

public CFAsteriskSwingAuditActionAskDeleteJPanel(ICFAsteriskSwingSchema argSchema,
        ICFSecurityAuditActionObj argFocus) {
    super();/*w  w  w.java  2  s .  c  o  m*/
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    swingFocus = argFocus;
    // Construct the various objects
    textAreaMessage = new JTextArea("Are you sure you want to delete this Audit Action?");
    actionOk = new ActionOk();
    actionCancel = new ActionCancel();
    buttonOk = new JButton(actionOk);
    buttonCancel = new JButton(actionCancel);
    attrJPanel = argSchema.getAuditActionFactory().newAttrJPanel(argFocus);
    scrollPane = new CFHSlaveJScrollPane(attrJPanel);
    // Lay out the widgets
    setSize(1024, 480);
    Dimension min = new Dimension(480, 300);
    setMinimumSize(min);
    add(textAreaMessage);
    textAreaMessage.setBounds(0, 0, 1024, 50);
    int xparts = (768 - (2 * 125)) / 3;
    add(buttonOk);
    buttonOk.setBounds(xparts, 55, 125, 40);
    add(buttonCancel);
    buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40);
    add(scrollPane);
    scrollPane.setBounds(0, 100, 1024, 480 - 100);
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskSwing.CFAsteriskSwingISOCurrencyAskDeleteJPanel.java

public CFAsteriskSwingISOCurrencyAskDeleteJPanel(ICFAsteriskSwingSchema argSchema,
        ICFSecurityISOCurrencyObj argFocus) {
    super();// w  ww.j  a  v  a2s .com
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    swingFocus = argFocus;
    // Construct the various objects
    textAreaMessage = new JTextArea("Are you sure you want to delete this ISO Currency?");
    actionOk = new ActionOk();
    actionCancel = new ActionCancel();
    buttonOk = new JButton(actionOk);
    buttonCancel = new JButton(actionCancel);
    attrJPanel = argSchema.getISOCurrencyFactory().newAttrJPanel(argFocus);
    scrollPane = new CFHSlaveJScrollPane(attrJPanel);
    // Lay out the widgets
    setSize(1024, 480);
    Dimension min = new Dimension(480, 300);
    setMinimumSize(min);
    add(textAreaMessage);
    textAreaMessage.setBounds(0, 0, 1024, 50);
    int xparts = (768 - (2 * 125)) / 3;
    add(buttonOk);
    buttonOk.setBounds(xparts, 55, 125, 40);
    add(buttonCancel);
    buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40);
    add(scrollPane);
    scrollPane.setBounds(0, 100, 1024, 480 - 100);
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskSwing.CFAsteriskSwingISOLanguageAskDeleteJPanel.java

public CFAsteriskSwingISOLanguageAskDeleteJPanel(ICFAsteriskSwingSchema argSchema,
        ICFSecurityISOLanguageObj argFocus) {
    super();//  w ww.  ja v a 2  s . c o m
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    swingFocus = argFocus;
    // Construct the various objects
    textAreaMessage = new JTextArea("Are you sure you want to delete this ISO Language?");
    actionOk = new ActionOk();
    actionCancel = new ActionCancel();
    buttonOk = new JButton(actionOk);
    buttonCancel = new JButton(actionCancel);
    attrJPanel = argSchema.getISOLanguageFactory().newAttrJPanel(argFocus);
    scrollPane = new CFHSlaveJScrollPane(attrJPanel);
    // Lay out the widgets
    setSize(1024, 480);
    Dimension min = new Dimension(480, 300);
    setMinimumSize(min);
    add(textAreaMessage);
    textAreaMessage.setBounds(0, 0, 1024, 50);
    int xparts = (768 - (2 * 125)) / 3;
    add(buttonOk);
    buttonOk.setBounds(xparts, 55, 125, 40);
    add(buttonCancel);
    buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40);
    add(scrollPane);
    scrollPane.setBounds(0, 100, 1024, 480 - 100);
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskSwing.CFAsteriskSwingISOTimezoneAskDeleteJPanel.java

public CFAsteriskSwingISOTimezoneAskDeleteJPanel(ICFAsteriskSwingSchema argSchema,
        ICFSecurityISOTimezoneObj argFocus) {
    super();/* w  ww . j a  va2 s.  c om*/
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    swingFocus = argFocus;
    // Construct the various objects
    textAreaMessage = new JTextArea("Are you sure you want to delete this ISO Timezone?");
    actionOk = new ActionOk();
    actionCancel = new ActionCancel();
    buttonOk = new JButton(actionOk);
    buttonCancel = new JButton(actionCancel);
    attrJPanel = argSchema.getISOTimezoneFactory().newAttrJPanel(argFocus);
    scrollPane = new CFHSlaveJScrollPane(attrJPanel);
    // Lay out the widgets
    setSize(1024, 480);
    Dimension min = new Dimension(480, 300);
    setMinimumSize(min);
    add(textAreaMessage);
    textAreaMessage.setBounds(0, 0, 1024, 50);
    int xparts = (768 - (2 * 125)) / 3;
    add(buttonOk);
    buttonOk.setBounds(xparts, 55, 125, 40);
    add(buttonCancel);
    buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40);
    add(scrollPane);
    scrollPane.setBounds(0, 100, 1024, 480 - 100);
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskSwing.CFAsteriskSwingProjectBaseAskDeleteJPanel.java

public CFAsteriskSwingProjectBaseAskDeleteJPanel(ICFAsteriskSwingSchema argSchema,
        ICFInternetProjectBaseObj argFocus) {
    super();/*from   www. java 2 s  .  c o  m*/
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    swingFocus = argFocus;
    // Construct the various objects
    textAreaMessage = new JTextArea("Are you sure you want to delete this ProjectBase?");
    actionOk = new ActionOk();
    actionCancel = new ActionCancel();
    buttonOk = new JButton(actionOk);
    buttonCancel = new JButton(actionCancel);
    attrJPanel = argSchema.getProjectBaseFactory().newAttrJPanel(argFocus);
    scrollPane = new CFHSlaveJScrollPane(attrJPanel);
    // Lay out the widgets
    setSize(1024, 480);
    Dimension min = new Dimension(480, 300);
    setMinimumSize(min);
    add(textAreaMessage);
    textAreaMessage.setBounds(0, 0, 1024, 50);
    int xparts = (768 - (2 * 125)) / 3;
    add(buttonOk);
    buttonOk.setBounds(xparts, 55, 125, 40);
    add(buttonCancel);
    buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40);
    add(scrollPane);
    scrollPane.setBounds(0, 100, 1024, 480 - 100);
}