🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
1 messages
1 total messages Started by Don Leckie Sun, 06 Feb 2005 22:13
RIGHT_TO_LEFT not working in JScroll Pane
#568
Author: Don Leckie
Date: Sun, 06 Feb 2005 22:13
26 lines
1988 bytes
Hi,

I'm upgrading our software from JDK 1.3.1_03 to JDK 1.4.2_07 and I'm having 
trouble with ComponentOrientation.RIGHT_TO_LEFT working correctly in a 
JScrollPane.

One of my windows has a JSplitPane. There is a JScrollPane in each side. 
There's a JTable in each scroll pane. The left scroll pane has the vertical 
JScrollBar on the left side. The right scroll pane has the veritcal 
JScrollBar on the right side (default).

The problem is with the left scroll pane. The table header is positioned 
correctly, but the table data is offset to the right by about 100 pixels; 
therefore the table data columns aren't lined up correctly with the header 
columns. There are two columns. When I resize the second column, the table 
data scrolls horizontally as if I was moving the thumb in the horizontal 
scroll bar. The header columns never scroll.

I'm not doing anything complicated. Just a simple table within a scroll 
pane.

Has anyone seen this behavior? I've been working on this for 3 days, mostly 
the weekend, and simply cannot figure out what's happening.

Thank you,
Don 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads