logo       
Google Custom Search
    AddThis Social Bookmark Button

[ xframe-Bugs-1194635 ] columnAtPoint works?: msg#00002

Subject: [ xframe-Bugs-1194635 ] columnAtPoint works?
Bugs item #1194635, was opened at 2005-05-03 13:28
Message generated for change (Settings changed) made by inaquimj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1194635&group_id=48863

Category: JXTable
Group: swing
Status: Open
Resolution: None
Priority: 5
Submitted By: Iñaqui Medina (inaquimj)
>Assigned to: Iñaqui Medina (inaquimj)
Summary: columnAtPoint works?

Initial Comment:
columnAtPoint is implemented as:

public int columnAtPoint(final Point point) {
        int lockedWidth = lockedTable.getWidth();
        if (point.y < lockedWidth) {
            return lockedTable.columnAtPoint(point);
        } else {
            Point p = new Point(point.x, point.y - 
lockedWidth);
            return frozenColumns + 
scrollTable.columnAtPoint(p);
        }
    }


And it is comparing the width against the Y coordinate 
and then adjusts the Y coordinate. Should do it against 
X.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1194635&group_id=48863


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>