Re: How to scroll a table with a overlaid component
- From: Gregory Miecznik <rgmiecznik@xxxxxxxxxxx>
- Date: Wed, 07 Nov 2007 11:04:07 -0800
On Nov 7, 10:54 am, "a24...@xxxxxxxxxxxxxx" <a24...@xxxxxxxxxxxxxx>
wrote:
On Nov 7, 6:19 pm, Gregory Miecznik <rgmiecz...@xxxxxxxxxxx> wrote:
My question is related to a typical example in a spread*** where I
can have an arbitrary component ontop of a scrollable table, which
should scroll along with the table.
The position of the overlaid component is arbitrary. A typical example
would be a
spread*** table with a graphical bar.
The position is not arbitrary. Apparently the lable position it
logically anchored at some spread*** position.
Do you know a propper way to do it?
Yes, instead of hacking around, do the whole thing in a more sensible
way. Apply the composite design pattern. Compose the spread*** and
the label into a single JComponent/Scrollable. Place that new
component into the scroll pane.
Can you be more specific or maybe tell me where I can find an example
of the composite design
for a related application?
Thank you
.
- References:
- How to scroll a table with a overlaid component
- From: Gregory Miecznik
- Re: How to scroll a table with a overlaid component
- From: a24900@xxxxxxxxxxxxxx
- How to scroll a table with a overlaid component
- Prev by Date: Re: How to scroll a table with a overlaid component
- Next by Date: Re: JDesktop Web Component Crashing
- Previous by thread: Re: How to scroll a table with a overlaid component
- Index(es):