* @return a matting paint choice icon for the current settings of this
* DrawingAttributes object, with the matting paint used.
*/
public ImageIcon getMattingIconForPaint() {
Paint paint = getMattingPaint();
DrawingAttributes da = new DrawingAttributes();
da.setLinePaint(paint);
da.setStroke(new BasicStroke(3));
DrawingAttributes innerda = new DrawingAttributes();
innerda.setLinePaint(Color.white);
innerda.setStroke(new BasicStroke(1));
OpenMapAppPartCollection collection = OpenMapAppPartCollection.getInstance();
IconPartList parts = new IconPartList();
if (paint instanceof Color) {
Color color = (Color) paint;
Paint opaqueColor = new Color(color.getRed(), color.getGreen(), color.getBlue(), 255);
DrawingAttributes opaqueDA = new DrawingAttributes();
opaqueDA.setLinePaint(opaqueColor);
opaqueDA.setStroke(new BasicStroke(3));
parts.add(collection.get("LR_TRI", opaqueDA));