javax.swing.JTextArea.setName()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(9.2k)|赞(0)|评价(0)|浏览(174)

本文整理了Java中javax.swing.JTextArea.setName()方法的一些代码示例,展示了JTextArea.setName()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextArea.setName()方法的具体详情如下:
包路径:javax.swing.JTextArea
类名称:JTextArea
方法名:setName

JTextArea.setName介绍

暂无

代码示例

代码示例来源:origin: stackoverflow.com

JTextArea textArea = new JTextArea();
textArea.setName("groupList");
JTextArea textArea1 = new JTextArea();
textArea1.setName("groupList1");
JTextArea textArea2 = new JTextArea();
textArea2.setName("groupList2");

代码示例来源:origin: fr.ifremer/isis-fish

protected void createCheckWindow() {
  $objectMap.put("checkWindow", checkWindow = new JTextArea());
  
  checkWindow.setName("checkWindow");
  checkWindow.setColumns(15);
  checkWindow.setLineWrap(true);
  checkWindow.setWrapStyleWord(true);
  checkWindow.setEditable(false);
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createVariableComment() {
  $objectMap.put("variableComment", variableComment = new JTextArea());
  
  variableComment.setName("variableComment");
  variableComment.setColumns(15);
  variableComment.setLineWrap(true);
  variableComment.setWrapStyleWord(true);
  variableComment.setRows(3);
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createFieldSimulParamsDesc() {
  $objectMap.put("fieldSimulParamsDesc", fieldSimulParamsDesc = new JTextArea());
  
  fieldSimulParamsDesc.setName("fieldSimulParamsDesc");
  fieldSimulParamsDesc.setColumns(15);
  fieldSimulParamsDesc.setLineWrap(true);
  fieldSimulParamsDesc.setWrapStyleWord(true);
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createMessage() {
  $objectMap.put("message", message = new JTextArea());
  
  message.setName("message");
  message.setColumns(15);
  message.setLineWrap(true);
  message.setWrapStyleWord(true);
  message.setColumns(80);
  message.setRows(2);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

protected void createLicenseTextArea() {
  licenseTextArea = new javax.swing.JTextArea();
  $objectMap.put("licenseTextArea", licenseTextArea);
  licenseTextArea.setName("licenseTextArea");
  licenseTextArea.setColumns(15);
  licenseTextArea.setLineWrap(true);
  licenseTextArea.setWrapStyleWord(true);
  licenseTextArea.setEditable(false);
  if (licenseTextArea.getFont() != null) licenseTextArea.setFont(licenseTextArea.getFont().deriveFont((float) 11));
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

protected void createThirdpartyTextArea() {
  thirdpartyTextArea = new javax.swing.JTextArea();
  $objectMap.put("thirdpartyTextArea", thirdpartyTextArea);
  thirdpartyTextArea.setName("thirdpartyTextArea");
  thirdpartyTextArea.setColumns(15);
  thirdpartyTextArea.setLineWrap(true);
  thirdpartyTextArea.setWrapStyleWord(true);
  thirdpartyTextArea.setEditable(false);
  if (thirdpartyTextArea.getFont() != null) thirdpartyTextArea.setFont(thirdpartyTextArea.getFont().deriveFont((float) 11));
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createFieldPopulationBasicsComment() {
  $objectMap.put("fieldPopulationBasicsComment", fieldPopulationBasicsComment = new JTextArea());
  
  fieldPopulationBasicsComment.setName("fieldPopulationBasicsComment");
  fieldPopulationBasicsComment.setColumns(15);
  fieldPopulationBasicsComment.setLineWrap(true);
  fieldPopulationBasicsComment.setWrapStyleWord(true);
  fieldPopulationBasicsComment.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__fieldPopulationBasicsComment"));
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createFieldSetOfVesselsComment() {
  $objectMap.put("fieldSetOfVesselsComment", fieldSetOfVesselsComment = new JTextArea());
  
  fieldSetOfVesselsComment.setName("fieldSetOfVesselsComment");
  fieldSetOfVesselsComment.setColumns(15);
  fieldSetOfVesselsComment.setLineWrap(true);
  fieldSetOfVesselsComment.setWrapStyleWord(true);
  fieldSetOfVesselsComment.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__fieldSetOfVesselsComment"));
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createFieldVesselTypeComment() {
  $objectMap.put("fieldVesselTypeComment", fieldVesselTypeComment = new JTextArea());
  
  fieldVesselTypeComment.setName("fieldVesselTypeComment");
  fieldVesselTypeComment.setColumns(15);
  fieldVesselTypeComment.setLineWrap(true);
  fieldVesselTypeComment.setWrapStyleWord(true);
  fieldVesselTypeComment.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__fieldVesselTypeComment"));
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createFieldGearComment() {
  $objectMap.put("fieldGearComment", fieldGearComment = new JTextArea());
  
  fieldGearComment.setName("fieldGearComment");
  fieldGearComment.setColumns(15);
  fieldGearComment.setLineWrap(true);
  fieldGearComment.setWrapStyleWord(true);
  fieldGearComment.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__fieldGearComment"));
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createFieldPopulationRecruitmentComment() {
  $objectMap.put("fieldPopulationRecruitmentComment", fieldPopulationRecruitmentComment = new JTextArea());
  
  fieldPopulationRecruitmentComment.setName("fieldPopulationRecruitmentComment");
  fieldPopulationRecruitmentComment.setColumns(15);
  fieldPopulationRecruitmentComment.setLineWrap(true);
  fieldPopulationRecruitmentComment.setWrapStyleWord(true);
  fieldPopulationRecruitmentComment.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__fieldPopulationRecruitmentComment"));
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createFieldSpeciesComment() {
  $objectMap.put("fieldSpeciesComment", fieldSpeciesComment = new JTextArea());
  
  fieldSpeciesComment.setName("fieldSpeciesComment");
  fieldSpeciesComment.setColumns(15);
  fieldSpeciesComment.setLineWrap(true);
  fieldSpeciesComment.setWrapStyleWord(true);
  fieldSpeciesComment.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__fieldSpeciesComment"));
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createFieldZoneComment() {
  $objectMap.put("fieldZoneComment", fieldZoneComment = new JTextArea());
  
  fieldZoneComment.setName("fieldZoneComment");
  fieldZoneComment.setColumns(15);
  fieldZoneComment.setLineWrap(true);
  fieldZoneComment.setWrapStyleWord(true);
  fieldZoneComment.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__fieldZoneComment"));
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createFieldStrategyComment() {
  $objectMap.put("fieldStrategyComment", fieldStrategyComment = new JTextArea());
  
  fieldStrategyComment.setName("fieldStrategyComment");
  fieldStrategyComment.setColumns(15);
  fieldStrategyComment.setLineWrap(true);
  fieldStrategyComment.setWrapStyleWord(true);
  fieldStrategyComment.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__fieldStrategyComment"));
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createFieldPopulationGroupComment() {
  $objectMap.put("fieldPopulationGroupComment", fieldPopulationGroupComment = new JTextArea());
  
  fieldPopulationGroupComment.setName("fieldPopulationGroupComment");
  fieldPopulationGroupComment.setColumns(15);
  fieldPopulationGroupComment.setLineWrap(true);
  fieldPopulationGroupComment.setWrapStyleWord(true);
  fieldPopulationGroupComment.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__fieldPopulationGroupComment"));
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createFieldPopulationSeasonComment() {
  $objectMap.put("fieldPopulationSeasonComment", fieldPopulationSeasonComment = new JTextArea());
  
  fieldPopulationSeasonComment.setName("fieldPopulationSeasonComment");
  fieldPopulationSeasonComment.setColumns(15);
  fieldPopulationSeasonComment.setLineWrap(true);
  fieldPopulationSeasonComment.setWrapStyleWord(true);
  fieldPopulationSeasonComment.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__fieldPopulationSeasonComment"));
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

protected void createDescription() {
  description = new javax.swing.JTextArea();
  $objectMap.put("description", description);
  description.setName("description");
  description.setColumns(15);
  description.setLineWrap(true);
  description.setWrapStyleWord(true);
  description.setFocusable(false);
  if (description.getFont() != null) description.setFont(description.getFont().deriveFont((float) 10));
  description.setEditable(false);
  description.setRows(3);
}

代码示例来源:origin: stackoverflow.com

public JTextArea txtArea() {
  JTextArea area = new JTextArea();
  tstDocumentListener dcL = new tstDocumentListener();
  area.getDocument().addDocumentListener(dcL);
  String st = String.valueOf(tab);
  area.setName(st);

  return area;
}

代码示例来源:origin: stackoverflow.com

public JTextArea txtArea() {
  JTextArea area = new JTextArea();
  CustomFocusListener cFL = new CustomFocusListener();
  area.addFocusListener(cFL);
  String st = String.valueOf(tab);
  area.setName(st);

   return area;
}

相关文章

JTextArea类方法