0

How does NetBeans create those buttons that have the little down arrow to the right of the main button which when pressed brings up a menu? The NetBeans "Debug Project button is one example. Are they two separate JButton components? Just how are they constructed?

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433

1 Answers1

-1

It's called a JComboBox I believe. You can find some documentation on how to make comboboxes here: https://docs.oracle.com/javase/tutorial/uiswing/components/combobox.html

Stephanie Wilson
  • 55
  • 1
  • 1
  • 7