}
}
font = new Font("华文楷体",Font.BOLD,18);
graphics.setFont(font);
graphics.setColor(Color.RED);
//写备注
String remark = "备注:备注写在这里。";
graphics.drawString(remark, startWidth, imageHeight-30);
createImage("c:\\1.jpg");
}
public static void main(String[] args) {
TestTable cg = new TestTable();
try {
cg.graphicsGeneration();
} catch (Exception e) {
e.printStackTrace();
}
}
}