[Biojava-l] ask help in biojava GUI
Keith James
kdj at sanger.ac.uk
Fri Feb 27 05:05:05 EST 2004
>>>>> "wux" == wux at mail cbi pku edu cn <wux at mail.cbi.pku.edu.cn> writes:
wux> Dear all: I have a question about biojava sequence GUI. I
wux> want to draw a lot of sequences in one panel with their
wux> features. e.g:
[...]
wux> I hope I can add each seq name in front of ruler , feature
wux> lable on top of the feature body , feature in different color
wux> according to its label and many sequences in one panel. How
wux> can I achieve that? I have looked througth the biojava doc
wux> 1.3 carefully, but It seems that SequencePanel can only
wux> display one sequence. The MultiLineRenderer can not resolve
wux> this either. Who can give me a hand ? Thanks in advance.
Hi,
You are right - a SequencePanel is designed to display one
Sequence. You can create a multi-Sequence display by packing several
SequencePanels into another container, using the standard Java
LayoutManagers to organise them.
hth, Keith
--
- Keith James <kdj at sanger.ac.uk> Microarray Facility, Team 65 -
- The Wellcome Trust Sanger Institute, Hinxton, Cambridge, UK -
More information about the Biojava-l
mailing list