JSplitPane to make Excel like Freeze Panes Effect?

JSplitPane looks like it should be able to create an Excel-like freeze pane effect, which I also need desperately… but I have to figure out how to get JSplitPane to scroll both panes vertically together. It also doesn’t appear to like looking at the same form in both panes, but I can get around that (and probably would’ve duped my forms anyway). Anyone have any ideas on teaching it to vertically scroll both together? Is there documentation on the properties of this bean with Servoy somewhere?

For the moment you can’t display the same form more than once on a form via a tab panel. I think it is mentioned somewhere that this will eventually be a possibility.

Don’t you want the scrolling to be independent to get the freeze frame effect? No properties available on the “scrolling event” in any case. I think the best you can do is match up the selected index in both forms when a record is clicked in either form.

Would be interested in knowing why you want forms to scroll simultaneously…

As far as documentation goes…haha! :) Ask Harjo or Marcel for a brain dump.

I’m looking to scroll vertically together but only have the horizontal scroll for half the screen – so that the row names stay on the screen no matter how far to the right you scroll. E.g.:

Project Management           2006    2007    2008   2009   2010   2011  Total 
    Setup                    $500    $300    $100     $50   $0       $0  $950
    Planning                 $500    $300    $100     $50   $0       $0  $950
Contract Management
    Hiring                   $500    $300    $100     $50   $0       $0  $950
    Systems                  $500    $300    $100     $50   $0       $0  $950

So that the horiz scroll would exist below 2006+ columns, but each row name would always stay fixed on the screen. I see it’s doable without any traditional vertical scrollbar and perhaps a button jumping both record index together down the page… Anything more graceful anyone can come up with?

i’m using 2 tabpanels besides eachother to get this effect. Works good until now…

How do you get them to scroll together vertically?