[JPanel] Drop Down JPanel

Discussion in 'Java' started by Raphael Jolivet, Jul 18, 2008.

  1. Hello,

    I would like a component like a JComboBox, but with something else
    that menu items in it.
    Can I put arbitrary contents in the popup box that opens when we click
    on the JComboBox ?

    Actually, what I want is a way to save some space in my application. I
    have some advanced settings and actions that I would like to put in an
    hidden JPanel, that would pop up on demand. I've heard about overlays,
    but it seems complicated.

    Do you know a free component that can do that, or have you a piece of
    code up your sleeve ?

    Thanks in advance,

    Raphael
    Raphael Jolivet, Jul 18, 2008
    #1
    1. Advertising

  2. In article
    <>,
    Raphael Jolivet <> wrote:

    > Hello,
    >
    > I would like a component like a JComboBox, but with something else
    > that menu items in it.
    > Can I put arbitrary contents in the popup box that opens when we click
    > on the JComboBox ?
    >
    > Actually, what I want is a way to save some space in my application. I
    > have some advanced settings and actions that I would like to put in an
    > hidden JPanel, that would pop up on demand. I've heard about overlays,
    > but it seems complicated.
    >
    > Do you know a free component that can do that, or have you a piece of
    > code up your sleeve ?
    >
    > Thanks in advance,


    Absent a better choice, would JTabbedPane be a practical alternative?

    <http://java.sun.com/docs/books/tutorial/uiswing/components/tabbedpane.ht
    ml>

    --
    John B. Matthews
    trashgod at gmail dot com
    home dot woh dot rr dot com slash jbmatthews
    John B. Matthews, Jul 18, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SirPoonga
    Replies:
    2
    Views:
    751
    Ben Strackany
    Jan 7, 2005
  2. weiwei
    Replies:
    0
    Views:
    1,009
    weiwei
    Jan 5, 2007
  3. msimmons
    Replies:
    0
    Views:
    470
    msimmons
    Jul 16, 2009
  4. Replies:
    5
    Views:
    266
  5. Replies:
    3
    Views:
    284
Loading...

Share This Page