Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2736
| From | "Gregory Miecznik" <gregory.miecznik@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: How to scroll a table |
| Message-ID | <1194462247.689274.55370@57g2000hsv.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <1194458050.126690.111260@50g2000hsm.googlegroups.com> |
| Date | 2011-04-27 15:40 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui On Nov 7, 10:54 am, "a24...@googlemail.com" <a24...@googlemail.com> wrote: > On Nov 7, 6:19 pm, Gregory Miecznik <rgmiecz...@hotmail.com> wrote: > > > My question is related to a typical example in a spreadsheet 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 > > spreadsheet table with a graphical bar. > > The position is not arbitrary. Apparently the lable position it > logically anchored at some spreadsheet 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 spreadsheet 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 --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar | Unroll thread
How to scroll a table wit "Gregory Miecznik" <gregory.miecznik@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: How to scroll a table a24900@googlemail.com.remove-dii-this - 2011-04-27 15:40 +0000
Re: How to scroll a table "Gregory Miecznik" <gregory.miecznik@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
csiph-web