Java Tutorial JLabel

API

  1. Java JLabel() Constructor
  2. Java JLabel(Icon image) Constructor
  3. Java JLabel(Icon image, int horizontalAlignment) Constructor
  4. Java JLabel(String text) Constructor
  5. Java JLabel(String text, Icon icon, int horizontalAlignment) Constructor
  6. Java JLabel(String text, int horizontalAlignment) Constructor
  7. Java JLabel.getDisplayedMnemonic()
  8. Java JLabel.getDisplayedMnemonicIndex()
  9. Java JLabel.getHorizontalAlignment()
  10. Java JLabel.getHorizontalTextPosition()
  11. Java JLabel.getText()
  12. Java JLabel.setDisplayedMnemonic(char aChar)
  13. Java JLabel.setDisplayedMnemonic(int key)
  14. Java JLabel.setDisplayedMnemonicIndex(int index)
  15. Java JLabel.setHorizontalTextPosition(int textPosition)
  16. Java JLabel.setIcon(Icon icon)
  17. Java JLabel.setIconTextGap(int iconTextGap)
  18. Java JLabel.setLabelFor(Component c)
  19. Java JLabel.setText(String text)
  20. Java JLabel.setVerticalAlignment(int alignment)
  21. Java JLabel.setVerticalTextPosition(int textPosition)