Re: regarding code

Richard Holland <[email protected]>
Newsgroups gmane.comp.java.bio.general
Message-ID <[email protected]>
It would be helpful if you could paste the full stack trace of the error message you are getting. Without that, it is impossible to help!

Richard.

On 17 Jul 2010, at 11:41, indu pandey wrote:

> hi everyone
> i am tryin to run this code from my application through jFrame.I want to
> pass this accession number through textarea for which i am usin g string
> data type as:
> 
> private void jButtonActionPerformed(java.awt.evet.ActionEvent evt)
> {
> string input=jTextArea1.getText();
> String out= readg(input);
> jTextArea2.SetText(out);
> }
> public String readg( String in)
> {
> RichSequence rs = *null*;
> String Seq="";
> 
>      GenbankRichSequenceDB grsdb = *new* GenbankRichSequenceDB();
> 
>      *try*{
> 
>        *// Demonstration of use with GenBank accession number*
> 
>        rs = grsdb.getRichSequence(in);
> 
>        SymbolList sl = rs.getInternalSymbolList();
> 
>        Seq=sl.seqString();
>    }
> 
>      *catch*(BioException be){
> 
>        be.printStackTrace();
> 
>        System <http://www.google.com/search?hl=en&q=allinurl%3Asystem+java.sun.com&btnI=I%27m%20Feeling%20Lucky>.exit(-1);
> 
>      }
> return (Seq);
> 
>   }
> 
> ny one tell me why this code is not working.
> thanx
> indu
> _______________________________________________
> Biojava-l mailing list  -  [email protected]
> http://lists.open-bio.org/mailman/listinfo/biojava-l

--
Richard Holland, BSc MBCS
Operations and Delivery Director, Eagle Genomics Ltd
T: +44 (0)1223 654481 ext 3 | E: [email protected]
http://www.eaglegenomics.com/


_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.