Skip to content
Snippets Groups Projects
Commit 960f3aad authored by tjc's avatar tjc
Browse files

use makeBorder() only in the basic gene builder

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@12528 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent ed36228f
No related branches found
No related tags found
No related merge requests found
......@@ -54,10 +54,12 @@ public class BasicPropertiesPanel extends JPanel
Box yBox = Box.createVerticalBox();
gene = (Feature) chadoGene.getGene().getUserData();
genePropPanel = new PropertiesPanel(gene, true, false, true, false);
genePropPanel.makeBorder();
yBox.add(genePropPanel);
Feature transcript = gbFrame.getSelectedTranscriptFeature();
transcriptPropPanel = new PropertiesPanel(transcript, true, false, false, false);
transcriptPropPanel.makeBorder();
yBox.add(transcriptPropPanel);
String transcriptName = GeneUtils.getUniqueName(transcript.getEmblFeature());
......@@ -68,6 +70,7 @@ public class BasicPropertiesPanel extends JPanel
{
Feature exon = (Feature) exons.get(0).getUserData();
exonPropPanel = new PropertiesPanel(exon, false, false, false, false);
exonPropPanel.makeBorder();
yBox.add(exonPropPanel);
}
......@@ -78,6 +81,7 @@ public class BasicPropertiesPanel extends JPanel
{
Feature protein = (Feature) pep.getUserData();
pepPropPanel = new PropertiesPanel(protein, true, false, false, false);
pepPropPanel.makeBorder();
yBox.add(pepPropPanel);
}
......
......@@ -112,7 +112,7 @@ public class PropertiesPanel extends JPanel
setBackground(Color.WHITE);
updateFromFeature(feature);
makeBorder();
//makeBorder();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment