Re: graph use.......



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@xxxxxxxxxxxxxx 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...

.