本文整理了Java中java.awt.Label.setName()
方法的一些代码示例,展示了Label.setName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Label.setName()
方法的具体详情如下:
包路径:java.awt.Label
类名称:Label
方法名:setName
暂无
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the Label1 property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getObjectLabel() {
if (ivjObjectLabel == null) {
try {
ivjObjectLabel = new java.awt.Label();
ivjObjectLabel.setName("ObjectLabel");
ivjObjectLabel.setFont(new java.awt.Font("dialog", 0, 10));
ivjObjectLabel.setText("Label1");
ivjObjectLabel.setBounds(10, 0, 180, 13);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjObjectLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the Label1 property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getObjectLabel() {
if (ivjObjectLabel == null) {
try {
ivjObjectLabel = new java.awt.Label();
ivjObjectLabel.setName("ObjectLabel");
ivjObjectLabel.setFont(new java.awt.Font("dialog", 0, 10));
ivjObjectLabel.setText("Label2");
ivjObjectLabel.setBounds(200, 0, 990, 13);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjObjectLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the ValueLabel property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getValueLabel() {
if (ivjValueLabel == null) {
try {
ivjValueLabel = new java.awt.Label();
ivjValueLabel.setName("ValueLabel");
ivjValueLabel.setFont(new java.awt.Font("dialog", 2, 12));
ivjValueLabel.setText("active");
ivjValueLabel.setBounds(60, 10, 230, 23);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjValueLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the RequestLabel property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getRequestLabel() {
if (ivjRequestLabel == null) {
try {
ivjRequestLabel = new java.awt.Label();
ivjRequestLabel.setName("RequestLabel");
ivjRequestLabel.setFont(new java.awt.Font("dialog", 0, 10));
ivjRequestLabel.setText("Label1");
ivjRequestLabel.setBounds(10, 0, 180, 13);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjRequestLabel;
}
java.awt.Label _getSecondLabel() {
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the Label2 property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getServantLabel() {
if (ivjServantLabel == null) {
try {
ivjServantLabel = new java.awt.Label();
ivjServantLabel.setName("ServantLabel");
ivjServantLabel.setFont(new java.awt.Font("dialog", 0, 10));
ivjServantLabel.setText("Label2");
ivjServantLabel.setBounds(200, 0, 990, 13);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjServantLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the LifespanNameLabel property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getLifespanNameLabel() {
if (ivjLifespanNameLabel == null) {
try {
ivjLifespanNameLabel = new java.awt.Label();
ivjLifespanNameLabel.setName("LifespanNameLabel");
ivjLifespanNameLabel.setLocation(new java.awt.Point(1, 14));
ivjLifespanNameLabel.setText(" Lifespan");
ivjLifespanNameLabel.setBackground(java.awt.SystemColor.control);
ivjLifespanNameLabel.setFont(new java.awt.Font("dialog", 2, 10));
ivjLifespanNameLabel.setBounds(new java.awt.Rectangle(1, 14, 100, 12));
ivjLifespanNameLabel.setBounds(1, 14, 100, 12);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
}
return ivjLifespanNameLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the RequestProcessingValueLabel property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getRequestProcessingValueLabel() {
if (ivjRequestProcessingValueLabel == null) {
try {
ivjRequestProcessingValueLabel = new java.awt.Label();
ivjRequestProcessingValueLabel.setName("RequestProcessingValueLabel");
ivjRequestProcessingValueLabel.setLocation(new java.awt.Point(102, 66));
ivjRequestProcessingValueLabel.setText(" USE_ACTIVE_OBJECT_MAP_ONLY");
ivjRequestProcessingValueLabel.setBackground(java.awt.SystemColor.control);
ivjRequestProcessingValueLabel.setFont(new java.awt.Font("dialog", 0, 10));
ivjRequestProcessingValueLabel.setBounds(new java.awt.Rectangle(102, 66, 179, 12));
ivjRequestProcessingValueLabel.setBounds(102, 66, 179, 12);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
}
return ivjRequestProcessingValueLabel;
}
Label _getServantRetentionLabel() {
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the ThreadNameLabel property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getThreadNameLabel() {
if (ivjThreadNameLabel == null) {
try {
ivjThreadNameLabel = new java.awt.Label();
ivjThreadNameLabel.setName("ThreadNameLabel");
ivjThreadNameLabel.setLocation(new java.awt.Point(1, 1));
ivjThreadNameLabel.setText(" Thread");
ivjThreadNameLabel.setBackground(java.awt.SystemColor.control);
ivjThreadNameLabel.setFont(new java.awt.Font("dialog", 2, 10));
ivjThreadNameLabel.setBounds(new java.awt.Rectangle(1, 1, 100, 12));
ivjThreadNameLabel.setBounds(1, 1, 100, 12);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
}
return ivjThreadNameLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the TitleLabel property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getTitleLabel() {
if (ivjTitleLabel == null) {
try {
ivjTitleLabel = new java.awt.Label();
ivjTitleLabel.setName("TitleLabel");
ivjTitleLabel.setLocation(new java.awt.Point(12, 8));
ivjTitleLabel.setText("Policies:");
ivjTitleLabel.setBackground(java.awt.SystemColor.control);
ivjTitleLabel.setForeground(new java.awt.Color(0,0,0));
ivjTitleLabel.setBounds(new java.awt.Rectangle(12, 8, 52, 23));
ivjTitleLabel.setBounds(12, 8, 52, 23);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
}
return ivjTitleLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the StateLabel property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getStateLabel() {
if (ivjStateLabel == null) {
try {
ivjStateLabel = new java.awt.Label();
ivjStateLabel.setName("StateLabel");
ivjStateLabel.setText(" State:");
ivjStateLabel.setForeground(java.awt.Color.black);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjStateLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the Label21 property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getMaxLabel() {
if (ivjMaxLabel == null) {
try {
ivjMaxLabel = new java.awt.Label();
ivjMaxLabel.setName("MaxLabel");
ivjMaxLabel.setText("");
ivjMaxLabel.setBackground(java.awt.SystemColor.control);
ivjMaxLabel.setFont(new java.awt.Font("dialog", 0, 10));
ivjMaxLabel.setBounds(23, 7, 25, 10);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjMaxLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the Label2 property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getMinLabel() {
if (ivjMinLabel == null) {
try {
ivjMinLabel = new java.awt.Label();
ivjMinLabel.setName("MinLabel");
ivjMinLabel.setText("");
ivjMinLabel.setBackground(java.awt.SystemColor.control);
ivjMinLabel.setFont(new java.awt.Font("dialog", 0, 10));
ivjMinLabel.setBounds(23, 104, 25, 10);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjMinLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the Label22 property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getAvgLabel() {
if (ivjAvgLabel == null) {
try {
ivjAvgLabel = new java.awt.Label();
ivjAvgLabel.setName("AvgLabel");
ivjAvgLabel.setText("");
ivjAvgLabel.setBackground(java.awt.SystemColor.control);
ivjAvgLabel.setFont(new java.awt.Font("dialog", 0, 10));
ivjAvgLabel.setBounds(23, 54, 25, 10);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjAvgLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the MessageLabel property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getMessageLabel() {
if (ivjMessageLabel == null) {
try {
ivjMessageLabel = new java.awt.Label();
ivjMessageLabel.setName("MessageLabel");
ivjMessageLabel.setAlignment(java.awt.Label.CENTER);
ivjMessageLabel.setText("Message");
ivjMessageLabel.setBackground(java.awt.SystemColor.control);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjMessageLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the NameLabel property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getNameLabel() {
if (ivjNameLabel == null) {
try {
ivjNameLabel = new java.awt.Label();
ivjNameLabel.setName("NameLabel");
ivjNameLabel.setText("State:");
ivjNameLabel.setBounds(10, 10, 50, 23);
ivjNameLabel.setForeground(java.awt.Color.black);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjNameLabel;
}
Label _getStateLabel() {
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the Label1 property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getRegisterLabel() {
if (ivjRegisterLabel == null) {
try {
ivjRegisterLabel = new java.awt.Label();
ivjRegisterLabel.setName("RegisterLabel");
ivjRegisterLabel.setText("Registered POA's:");
ivjRegisterLabel.setBackground(java.awt.SystemColor.control);
ivjRegisterLabel.setForeground(java.awt.Color.black);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjRegisterLabel;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the Label3 property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getLabel3() {
if (ivjLabel3 == null) {
try {
ivjLabel3 = new java.awt.Label();
ivjLabel3.setName("Label3");
ivjLabel3.setFont(new java.awt.Font("dialog", 2, 10));
ivjLabel3.setAlignment(java.awt.Label.CENTER);
ivjLabel3.setText("Thread Pool");
ivjLabel3.setBounds(90, 22, 62, 12);
ivjLabel3.setForeground(java.awt.Color.black);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjLabel3;
}
FillLevelBar _getThreadPoolBar() {
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the Label2 property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getLabel2() {
if (ivjLabel2 == null) {
try {
ivjLabel2 = new java.awt.Label();
ivjLabel2.setName("Label2");
ivjLabel2.setFont(new java.awt.Font("dialog", 2, 10));
ivjLabel2.setAlignment(java.awt.Label.CENTER);
ivjLabel2.setText("Active Requests");
ivjLabel2.setBounds(4, 22, 80, 12);
ivjLabel2.setForeground(java.awt.Color.black);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjLabel2;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the Label2 property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getHeaderLabel2() {
if (ivjHeaderLabel2 == null) {
try {
ivjHeaderLabel2 = new java.awt.Label();
ivjHeaderLabel2.setName("HeaderLabel2");
ivjHeaderLabel2.setAlignment(java.awt.Label.LEFT);
ivjHeaderLabel2.setFont(new java.awt.Font("dialog", 2, 10));
ivjHeaderLabel2.setText("Label2");
ivjHeaderLabel2.setBackground(java.awt.SystemColor.control);
ivjHeaderLabel2.setBounds(200, 0, 190, 20);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjHeaderLabel2;
}
/**
代码示例来源:origin: org.jacorb/jacorb
/**
* Return the Label1 property value.
* @return java.awt.Label
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private java.awt.Label getLabel1() {
if (ivjLabel1 == null) {
try {
ivjLabel1 = new java.awt.Label();
ivjLabel1.setName("Label1");
ivjLabel1.setFont(new java.awt.Font("dialog", 2, 10));
ivjLabel1.setAlignment(java.awt.Label.CENTER);
ivjLabel1.setText("Request Processing");
ivjLabel1.setBounds(10, 10, 140, 12);
ivjLabel1.setForeground(java.awt.Color.black);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjLabel1;
}
/**
内容来源于网络,如有侵权,请联系作者删除!