JButton

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yneeraja
    New Member
    • Nov 2007
    • 2

    JButton

    Hi all please help me how to get a combobox when a JButton is pressed
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by yneeraja
    Hi all please help me how to get a combobox when a JButton is pressed
    Don't be too lazy to explain your problem clearly.
    Please give more details.

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by yneeraja
      Hi all please help me how to get a combobox when a JButton is pressed
      What do you mean by 'get a combobox'? You can 'get' such a box by just doing
      this:

      [code=java]
      new JComboBox(); // look ma: I got a new combo box!
      [/code]

      Please elaborate on what you want exactly.

      kind regards,

      Jos

      Comment

      Working...