Michael Rauscher wrote:
> Timasmith schrieb:
> > I want to have a comboxbox and an elipsis ... button treated as a
> > single control.
> >
> > If I use a JPanel + BorderLayout with a combobox using the 'Center' and
> > the button the 'East'
> >
> > [________] [...]
> >
> > For most interactions I want the events to go to the combobox. Rather
> > than overloading and redirecting each individual JPanel method, can I
> > somehow delegate the combobox to receive everthing by default.
>
> Huh? Do you write a custom component?
>
> Bye
> Michael
Sure, if you want to call treated panel+combo+button a 'custom
component'.
Putting them together simplifies the layout and interface code
significantly.
|