Re: [Biojava-l] DistributionLogo help

2004-06-29 Thread Thomas Down
On 28 Jun 2004, at 21:44, [EMAIL PROTECTED] wrote: I am trying to use DistributionLogo class to represent a PSSM for a transcription factor. I can generate DistributionLogos for each position but can't merge them together to form a nice looking single logo to be displayed on a panel. Basically,I d

Re: [Biojava-l] DistributionLogo help

2004-06-29 Thread xjw2101
Thomas, Seems the version is different from mine. In my version DistributionLogo is extension of Component and there are no setRenderingHints(hints) or setPreferedSize() methods. Xuegong --- Thomas Down <[EMAIL PROTECTED]> wrote: > > On 28 Jun 2004, at 21:44, [EMAIL PROTECTED] > wrote: > >

Re: [Biojava-l] DistributionLogo help

2004-06-29 Thread Thomas Down
On 29 Jun 2004, at 15:49, [EMAIL PROTECTED] wrote: Thomas, Seems the version is different from mine. In my version DistributionLogo is extension of Component and there are no setRenderingHints(hints) or setPreferedSize() methods. Hmmm, do you know what version of BioJava you're using? Those method

[Biojava-l] java.lang.NoClassDefFoundError error

2004-06-29 Thread Selmar Leeuwenburgh
Hi, I have a question. I know there are some messages of this subject in the list, but I can't find the right answer. Do someone know why I get java.lang.NoClassDefFoundError error? I get the same error on my Linux computer with mandrake. the command: C:\>c:\j2sdk1.4.2_04\bin\java c:\bio-java\

RE: [Biojava-l] java.lang.NoClassDefFoundError error

2004-06-29 Thread Gang Wu
Give C:\>c:\j2sdk1.4.2_04\jre\bin\java a try. I got the similar problem, which seems the "java" you called did not include the jar files under C:\>c:\j2sdk1.4.2_04\jre\lib\ext properly, any hint? Gang -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Selmar L

RE: [Biojava-l] java.lang.NoClassDefFoundError error

2004-06-29 Thread Gang Wu
Another problem is you have to include "c:\bio-java\demos" in your CLASSPATH and call the TestEmbl as "seq.TestEmbl" because the class package started from "c:\bio-java\demos\seq". So the command line should be like: c:\j2sdk1.4.2_04\jre\bin\java -cp CLASSPATH;c:\bio-java\demos seq.TestEmbl C:\bio

Re: [Biojava-l] java.lang.NoClassDefFoundError error

2004-06-29 Thread Francois Pepin
Good old classpath error would be my guess. try: cd bio-java\demos c:\j2sdk1.4.2_04\bin\java -cp . seq/TestEmbl this should give you the following error (output is from linux): [EMAIL PROTECTED] demos]$ java -cp . seq/TestEmbl Exception in thread "main" java.lang.NoClassDefFoundError: org/bioja

Re: [Biojava-l] DistributionLogo help

2004-06-29 Thread xjw2101
Thomas, Thanks, that I found out later it's my mistake that I use Component object to represent the logo. Seems to work now but there still is a problem-- the height of the logos displayed seems to be only 1/2 of the space I provided to them on the panel. Change the dimension of the logo dosen'