Swing Components

  1. JFrame: A top-level container that represents a window with a title bar and can hold other Swing components.
  2. JPanel: A lightweight container used to organize other components.
  3. JButton: A component that represents a clickable button with text or an icon.
  4. JLabel: A component that displays a single line of non-editable text or an image.
  5. JTextField: An input component that allows users to enter and edit a single line of text.
  6. JTextArea: A multi-line text area that allows users to enter and edit larger amounts of text.
  7. JCheckBox: A component that represents a checkbox that can be selected or deselected.
  8. JRadioButton: A component that represents a radio button, allowing users to select a single option from a group.
  9. JComboBox: A combination of a text field and a drop-down list, allowing users to select from predefined options.
  10. JList: A component that displays a list of items that users can select from.
  11. JScrollPane: A component that provides a scrollable view of a larger component, such as a JTextArea or JList.
  12. JSlider: A component that allows users to select a value from a range by dragging a slider.
  13. JProgressBar: A component that visually displays the progress of a task.
  14. JSeparator: A visual separator or divider between components.
  15. JMenuBar: A component that represents a menu bar containing menus.
  16. JMenu: A component that represents a menu with options or sub-menus.
  17. JMenuItem: A component that represents an individual item within a menu.
  18. JToolBar: A component that displays a toolbar with buttons for various actions.
  19. JFileChooser: A dialog for selecting files or directories.
  20. JColorChooser: A dialog for selecting colors.
  21. JDialog: A custom dialog box that can be used to display messages, input forms, or other user interactions.
  22. JTable: A component for displaying and editing tabular data.
  23. JSpinner: A component that allows users to select a numeric value from a sequence.
  24. JTabbedPane: A component that displays multiple tabs, each containing a different set of components.
  25. JTree: A component for displaying hierarchical data in a tree structure.
  26. CardLayout: A layout manager that allows multiple components to be stacked like cards, with only one visible at a time.
Sharing Is Caring: