randomFactors = generateRandomFactors(200); // hopefully x extent of component will never be bigger than this
}
public LFOShapePanel(String title) {
//this.setBorder(new LineBorder(UIColors.getVoiceOverviewTableBorder(), 4, true));
FuzzyLineBorder flb = new FuzzyLineBorder(UIColors.getTableBorder(),UIColors.getTableBorderWidth(), true, false);
flb.setFadingIn(flb.isFadingIn());
this.setBorder(new TitledBorder(flb, title, TitledBorder.LEFT, TitledBorder.ABOVE_TOP));
//this.setBorder(new TitledBorder(UIColors.makeFuzzyBorder(UIColors.getTableBorder(), RowHeaderedAndSectionedTablePanel.getBorderWidth()), title, TitledBorder.LEFT, TitledBorder.ABOVE_TOP));
Insets i = this.getInsets();
setPreferredSize(new Dimension(i.left + i.right + 60, i.top + i.bottom + 60));