java.awt.Label.setVisible()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(160)

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

Label.setVisible介绍

暂无

代码示例

代码示例来源:origin: wildfly/wildfly

private void clearMsg() {
  err_msg.setVisible(false);
}

代码示例来源:origin: wildfly/wildfly

private void showMsg(String msg) {
  err_msg.setText(msg);
  err_msg.setVisible(true);
}

代码示例来源:origin: wildfly/wildfly

err_msg.setFont(new Font("Helvetica", Font.ITALIC, 12));
err_msg.setForeground(Color.red);
err_msg.setVisible(false);
get.setBounds(new Rectangle(10, 250, 80, 30));
set.setBounds(new Rectangle(100, 250, 80, 30));

代码示例来源:origin: apache/activemq-artemis

private void clearMsg() {
  err_msg.setVisible(false);
}

代码示例来源:origin: apache/activemq-artemis

private void clearMsg() {
  err_msg.setVisible(false);
}

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

private void clearMsg() {
  err_msg.setVisible(false);
}

代码示例来源:origin: org.jgroups/com.springsource.org.jgroups

private void clearMsg() {
  err_msg.setVisible(false);
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

private void clearMsg() {
  err_msg.setVisible(false);
}

代码示例来源:origin: com.bbossgroups.rpc/bboss-rpc

private void clearMsg() {
  err_msg.setVisible(false);
}

代码示例来源:origin: apache/activemq-artemis

private void showMsg(String msg) {
  err_msg.setText(msg);
  err_msg.setVisible(true);
}

代码示例来源:origin: apache/activemq-artemis

private void showMsg(String msg) {
  err_msg.setText(msg);
  err_msg.setVisible(true);
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

private void showMsg(String msg) {
  err_msg.setText(msg);
  err_msg.setVisible(true);
}

代码示例来源:origin: org.jgroups/com.springsource.org.jgroups

private void showMsg(String msg) {
  err_msg.setText(msg);
  err_msg.setVisible(true);
}

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

private void showMsg(String msg) {
  err_msg.setText(msg);
  err_msg.setVisible(true);
}

代码示例来源:origin: com.bbossgroups.rpc/bboss-rpc

private void showMsg(String msg) {
  err_msg.setText(msg);
  err_msg.setVisible(true);
}

代码示例来源:origin: apache/activemq-artemis

err_msg.setFont(new Font("Helvetica", Font.ITALIC, 12));
err_msg.setForeground(Color.red);
err_msg.setVisible(false);
get.setBounds(new Rectangle(10, 250, 80, 30));
set.setBounds(new Rectangle(100, 250, 80, 30));

代码示例来源:origin: apache/activemq-artemis

err_msg.setFont(new Font("Helvetica", Font.ITALIC, 12));
err_msg.setForeground(Color.red);
err_msg.setVisible(false);
get.setBounds(new Rectangle(10, 250, 80, 30));
set.setBounds(new Rectangle(100, 250, 80, 30));

代码示例来源:origin: org.jgroups/com.springsource.org.jgroups

err_msg.setFont(new Font("Helvetica", Font.ITALIC, 12));
err_msg.setForeground(Color.red);
err_msg.setVisible(false);
get.setBounds(new Rectangle(10, 250, 80, 30));
set.setBounds(new Rectangle(100, 250, 80, 30));

代码示例来源:origin: com.bbossgroups.rpc/bboss-rpc

err_msg.setFont(new Font("Helvetica", Font.ITALIC, 12));
err_msg.setForeground(Color.red);
err_msg.setVisible(false);
get.setBounds(new Rectangle(10, 250, 80, 30));
set.setBounds(new Rectangle(100, 250, 80, 30));

代码示例来源:origin: uk.co.caprica/vlcj

@Override
  public void keyPressed(KeyEvent e) {
    switch(e.getKeyChar()) {
      case 'q':
        o1.setVisible(!o1.isVisible());
        break;
      case 'w':
        o2.setVisible(!o2.isVisible());
        break;
      case 'e':
        o3.setVisible(!o3.isVisible());
        break;
      case 'r':
        o4.setVisible(!o4.isVisible());
        break;
    }
  }
});

相关文章