Hi Oded,

You'll need Java 1.6 - turns out javax.swing.table.TableRowSorter
isn't in 1.5.  Can you readily upgrade that?

Brian

On Sun, May 23, 2010 at 3:48 AM, Oded <oded.kleif...@gmail.com> wrote:
> Hi all,
> I am trying to install the latest TPP code (version 4984) on my Mac
> that runs 10.5 using fink.
> All seems to go well but a Java related issue in the build of PepC is
> causing the following error:
>    [javac] /Users/oded/tpp4984/src/Quantitation/Pepc/src/
> PepcViewer.java:52: cannot find symbol
>    [javac] symbol  : class TableRowSorter
>    [javac] location: package javax.swing.table
>    [javac] import javax.swing.table.TableRowSorter;
>    [javac]                          ^
>    [javac] /Users/oded/tpp4984/src/Quantitation/Pepc/src/
> PepcViewer.java:473: cannot find symbol
>    [javac] symbol  : method setAutoCreateRowSorter(boolean)
>    [javac] location: class javax.swing.JTable
>    [javac]
> proteinsTable.setAutoCreateRowSorter(true);  // sort on col header
> clicks
>    [javac]                              ^
>    [javac] /Users/oded/tpp4984/src/Quantitation/Pepc/src/
> PepcViewer.java:482: cannot find symbol
>    [javac] symbol  : class TableRowSorter
>    [javac] location: class PepcViewer.PepcPanel
>    [javac]
> ((TableRowSorter)proteinsTable.getRowSorter()).setComparator(c,dcomp);
>    [javac]                           ^
>    [javac] /Users/oded/tpp4984/src/Quantitation/Pepc/src/
> PepcViewer.java:482: cannot find symbol
>    [javac] symbol  : method getRowSorter()
>    [javac] location: class javax.swing.JTable
>    [javac]
> ((TableRowSorter)proteinsTable.getRowSorter()).setComparator(c,dcomp);
>    [javac]                                                       ^
>    [javac] /Users/oded/tpp4984/src/Quantitation/Pepc/src/
> PepcViewer.java:486: cannot find symbol
>    [javac] symbol  : class TableRowSorter
>    [javac] location: class PepcViewer.PepcPanel
>    [javac]
> ((TableRowSorter)proteinsTable.getRowSorter()).setComparator(getGStatisticColumnNum(),dcomp);
>    [javac]                   ^
>    [javac] /Users/oded/tpp4984/src/Quantitation/Pepc/src/
> PepcViewer.java:486: cannot find symbol
>    [javac] symbol  : method getRowSorter()
>    [javac] location: class javax.swing.JTable
>    [javac]
> ((TableRowSorter)proteinsTable.getRowSorter()).setComparator(getGStatisticColumnNum(),dcomp);
>    [javac]                                               ^
>    [javac] /Users/oded/tpp4984/src/Quantitation/Pepc/src/
> PepcViewer.java:488: cannot find symbol
>    [javac] symbol  : class TableRowSorter
>    [javac] location: class PepcViewer.PepcPanel
>    [javac]
> ((TableRowSorter)proteinsTable.getRowSorter()).setComparator(getPValueColumnNum(),
> dcomp);
>    [javac]                   ^
>    [javac] /Users/oded/tpp4984/src/Quantitation/Pepc/src/
> PepcViewer.java:488: cannot find symbol
>    [javac] symbol  : method getRowSorter()
>    [javac] location: class javax.swing.JTable
>    [javac]
> ((TableRowSorter)proteinsTable.getRowSorter()).setComparator(getPValueColumnNum(),
> dcomp);
>    [javac]                                               ^
>    [javac] Note: /Users/oded/tpp4984/src/Quantitation/Pepc/src/
> PepcViewer.java uses unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>    [javac] 8 errors
>
> BUILD FAILED
>
> The Java build is 1.5.0_24-149 (OS 10.5)
> Is there a way to sort this issue?
> Many thanks,
> Oded
>
> --
> You received this message because you are subscribed to the Google Groups 
> "spctools-discuss" group.
> To post to this group, send email to spctools-disc...@googlegroups.com.
> To unsubscribe from this group, send email to 
> spctools-discuss+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/spctools-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To post to this group, send email to spctools-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
spctools-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/spctools-discuss?hl=en.

Reply via email to