Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #432
| From | "IchBin" <ichbin@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: graph use....... |
| Message-ID | <bt2cnViBKJOMahvYUSdV9g@ptd.net> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <1166469106.184659.147800@80g2000cwy.googlegroups.com> |
| Date | 2011-04-27 15:27 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui
rupeshgade@googlemail.com wrote:
> Hi,
> thnx for the links..
>
> Rupesh..
> IchBin wrote:
>> rupeshgade@googlemail.com wrote:
>>> 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...
>> Here are links you should reference:
>>
>> The Java Language Specification, Third Edition
>> http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html
>>
>> The JavaTM Virtual Machine Specification Second Edition
>> http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html
>>
>> JDK 6 Documentation
>> http://java.sun.com/javase/6/docs
>>
>> Java Platform, Standard Edition 6 API Specification
>> http://java.sun.com/javase/6/docs/api
>>
>> The Java Tutorial: "The Really Big Index"
>> http://java.sun.com/docs/books/tutorial/reallybigindex.html
>>
>> The Java Developers Almanac 1.4
>> http://www.exampledepot.com
>>
>> --
>> Thanks in Advance... http://ichbin.9999mb.com
>> IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
>> ______________________________________________________________________
>> 'If there is one, Knowledge is the "Fountain of Youth"'
>> -William E. Taylor, Regular Guy (1952-)
>
Forgot to answer your original question. Right off the start It would be
helpful to look at the sample graph applets distributed with the JDK.
Example for Installed JDK.. here 1.6.0
..\Java\jdk1.6.0\demo\applets\BarChart
..\Java\jdk1.6.0\demo\applets\SimpleGraph
For advance graphic examples look at
..\Java\jdk1.6.0\demo\jfc\Java2D
--
Thanks in Advance... http://ichbin.9999mb.com
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
---
* 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
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
graph use....... rupeshgade@googlemail.com.remove-dii-this - 2011-04-27 15:27 +0000
Re: graph use....... rupeshgade@googlemail.com.remove-dii-this - 2011-04-27 15:27 +0000
Re: graph use....... "IchBin" <ichbin@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
Re: graph use....... rupeshgade@googlemail.com.remove-dii-this - 2011-04-27 15:27 +0000
Re: graph use....... "IchBin" <ichbin@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
Re: graph use....... rupeshgade@googlemail.com.remove-dii-this - 2011-04-27 15:27 +0000
Re: graph use....... "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
csiph-web