From: kruland2607 Date: Wed, 20 Jun 2012 18:09:45 +0000 (+0000) Subject: Print the manufacturer and part number of the preset component in the bill of materials. X-Git-Tag: upstream/12.09^2~164 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=b880eeed64bf0db19f048e607466f5919ce2e076;p=debian%2Fopenrocket Print the manufacturer and part number of the preset component in the bill of materials. git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@795 180e2498-e6e9-4542-8430-84ac67f01cd8 --- diff --git a/core/src/net/sf/openrocket/gui/print/visitor/PartsDetailVisitorStrategy.java b/core/src/net/sf/openrocket/gui/print/visitor/PartsDetailVisitorStrategy.java index b123fe9d..c155d0cd 100644 --- a/core/src/net/sf/openrocket/gui/print/visitor/PartsDetailVisitorStrategy.java +++ b/core/src/net/sf/openrocket/gui/print/visitor/PartsDetailVisitorStrategy.java @@ -639,7 +639,9 @@ public class PartsDetailVisitorStrategy { para.add(new Chunk(tab1)); } c.setFont(PrintUtilities.SMALL); - c.append(preset.toString()); + StringBuffer sb = new StringBuffer(); + sb.append(preset.getManufacturer()).append(" ").append(preset.getPartNo()); + c.append(sb.toString()); para.add(c); } result.addElement(para);