OverviewPanel overviewPanel;\r
SeqPanel seqPanel;\r
IdPanel idPanel;\r
+ IdwidthAdjuster idwidthAdjuster;\r
SecondaryStructurePanel ssPanel;\r
public AlignFrame alignFrame;\r
ScalePanel scalePanel;\r
secondaryPanelHolder.add(ssPanel, BorderLayout.CENTER);\r
\r
idPanelHolder.add(idPanel, BorderLayout.CENTER);\r
- IdwidthAdjuster iap = new IdwidthAdjuster(this);\r
- idSpaceFillerPanel1.add(iap, BorderLayout.CENTER);\r
+ idwidthAdjuster = new IdwidthAdjuster(this);\r
+ idSpaceFillerPanel1.add(idwidthAdjuster, BorderLayout.CENTER);\r
\r
Dimension d = calculateIdWidth();\r
d.setSize( d.width+4, d.height);\r
{\r
public void componentResized(ComponentEvent evt)\r
{\r
+ if(seqPanel.getWidth()>0 && seqPanel.getHeight()>0)\r
RefreshPanels();\r
}\r
});\r
\r
hscroll.setVisible(!wrap);\r
\r
+ idwidthAdjuster.setVisible(!wrap);\r
idSpaceFillerPanel.setVisible(!wrap);\r
idSpaceFillerPanel1.setVisible(!wrap);\r
\r