Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!transit4.readnews.com!textspool2.readnews.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: rupeshgade@googlemail.com.remove-dii-this Subject: Re: graph use....... Message-ID: <1166450998.818866.269340@79g2000cws.googlegroups.com> X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: <1166450785.585145.298340@73g2000cwn.googlegroups.com> References: <1166450785.585145.298340@73g2000cwn.googlegroups.com> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 46 Date: Wed, 27 Apr 2011 15:27:27 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918047 96.60.20.240 (Wed, 27 Apr 2011 10:27:27 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:27:27 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:423 To: comp.lang.java.gui Hi, One more thing...I will appreciate it if anybody could give me some tutorial links to swing....i am still new to Java so i guess,i would like to have something which is easy to understand.. Thnx for the help. Rupesh. rupeshgade@googlemail.com wrote: > Hi All, > First my code.... > > JPanel panel =new JPanel(new FlowLayout()); > panel.add(sLabel); > panel.add(sField); > panel.add(button); > frame.add(panel, BorderLayout.NORTH); > > final int FRAME_WIDTH =600; > final int FRAME_HEIGHT =700; > frame.setSize(FRAME_WIDTH,FRAME_HEIGHT); > > > RectangleComponent component = new RectangleComponent(); > frame.add(component, BorderLayout.CENTER); > frame.setTitle("Hydrophobicity viewer"); > frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); > frame.setVisible(true); > > > My question:if i write a String of > AminoAcids(eg..ARTYGSDEJHUSKLFUFKS...) in the textfield,i want to plot > the hydrophobicity values on the graph which is included in the > RectangleComponent.i have made an array of AminoAcid and their > hydrophobicity values but stuck as to how to proceed.Hence help > needed...In short,i want to plot the hydrophobicity values of > AminoAcids on the graph...how to do it???i am short of ideas and > imagination !!!!!!! > > Rupesh... --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24