public void actionPerformed(ActionEvent action) { if(comboneg.getSelectedItem()=="Yes") { cv1.setLineStyleNegative(ContoursView.Line.DASH); } else { cv1.setLineStyleNegative(ContoursView.Line.SOLID); } } });
cv1.setLineStyleNegative(ContoursView.Line.DASH); cv1.setLineColor(Color.BLACK); cv1.setContours(50);