🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #568

RIGHT_TO_LEFT not working in JScroll Pane

#568
From: 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 
Technical Details
Message-ID: <42069676$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,2a95b0aa3aa3abcb,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Don Leckie" <don@leckieinc.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: RIGHT_TO_LEFT not working in JScroll Pane
Date: Sun, 6 Feb 2005 17:13:14 -0500
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
NNTP-Posting-Host: 68.235.25.201
Message-ID: <42069676$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1107727990 68.235.25.201 (6 Feb 2005 14:13:10 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail