SWT « JScrollPane « Java Swing Q&A





1. Eclipse plugin development: Vertically scrolling table?    stackoverflow.com

I'm trying to create a vertically scrolling table within a dialog, without success. When I create the table, it auto-expands to whatever height it needs to be regardless of screen ...

2. SWT SCroll Bars HELP !?!!!    coderanch.com

Hi Dave --- thanks for replying.... Well , I made a scrollable list, and embedded it as a in a grid layout. Regardless of what I set the size of the thumb to inside the list, the thumb expands to full size. Im sure it is possible to embed a scrolled widget into a grid layout, but I cant get it ...

3. SWT Group scroll bars ....    coderanch.com

Hi Everbody : Im having trouble with SWT groups and scroll bars. The following code always throws a null pointer exception : ****************************************** Group g = new Group (parent, SWT.V_SCROLL); //Exception thrown here ... g.getVerticalBar().setVisible(true); ****************************************** Why is the vertical bar null ? I have tried this same strategy on Lists and it works just fine...

4. synchronize two SWT scrollbars    coderanch.com

Hi All, Currently, I have two tables each with their own scrollbars. When I move one scrollbar, the other scrollbar also moves. But the other table will not scroll (so only the scrollbar moves, the table doesn't). I've tried refreshing, updating, redrawing the table, but nothing seems to make the table itself scroll. To make the other scrollbar move, I have ...