Skip to content
  • Java Swing
  • Java Other
The GUI Convert

The GUI Convert

  • Java Swing
  • Java Other
Home » Java » The Convert’s Guide to Java Swing: JComboBox
  • To search for a word and highlight it on page use Ctrl + F
  • To copy text from page, highlight text and then Ctrl + C
  • To paste that text into another page, click page then Ctrl + V
  • To search Internet, highlight text then right click Options List
  • Current pixel font size is16
  •   Click Tools to remove
  • JLabel
    • Text and Icons
    • Alignment
    • State
    • Overall Look
    • Mnemonic
    • Events
  • JButton
    • Text and Icons
    • Alignment
    • State
    • Overall Look
    • Other
    • Events
  • JComboBox
    • JComboBox – Items
    • JComboBox – Selection
    • JComboBox – Renderers and Editors
    • JComboBox – UI Modifications
    • JComboBox – Other
    • JComboBox – Events
  • JScrollPane
    • JScrollPane – Viewport
    • JScrollPane – Row Header
    • JScrollPane – Column Header
    • JScrollPane – Corners
    • JScrollPane – Vertical Scrolling
    • JScrollPane – Horizontal Scrolling
    • JScrollPane – Other
    • JScrollPane – Events

The Convert’s Guide to Java Swing: JComboBox

Items
Add Item
Add Collection of Items
Insert Item
Replace Item
Remove Item
Remove All Items
Item Count

Selection
Select Item
Clear Item Selection
Set Custom Key Selection Manager
Selected Item Index

Renderer and Editor
Set Renderer that uses JLabel
Set Renderer that uses JPanel
Allow Editing
Request Editor Focus
Select All Editor
Set Editor Value
Set Add-At-End Text Editor
Set Color Chooser Button Editor

UI Modifications
Change Popup Arrow
Set Padding

Misc
Set Maximum Popup Displayed Items
Show Popup
Enable LightWeight Popup
Set Width by Rendered String
Set Action
Set Action Command Text
Set Enabled
Set New Item Type

Events
Action Fired
Item Selection Changed
Popup Menu will become Visible
Popup Menu will become Invisible
Popup Menu is Canceled
List Interval Added
List Interval Removed
List Contents Changed
Editor Action Fired
Light Weight Popup Flag Changed
Width changed due to Prototype Display Value Changed
Action Changed

Filed under: Java,Java Swing - @ 9:08 pm

Tags: Java, JavaSwing, JComboBox


« The Convert’s Guide to Java Swing: JLabel ⇐ More Pages ⇒ The Convert’s Guide to Java Swing: JTextField »


< top >

© 2025 The GUI Convert