全文预览

3901110721-李奇-软件配置管理实验报告3.doc

上传者:hnxzy51 |  格式:doc  |  页数:22 |  大小:0KB

文档介绍
rn this.book; } Public double getCharge(double priceAmount){ priceAmount +=(float)getBook().getBookPr ice()*getBook().getDiscount() ; Return priceAmount; }} Change Method Signature public class ChatRecord { Public ChatRecord(String path) {} public void write(String t){}} public class ChatRecord { public ChatRecord(String path) {} public void writer(String t){}} Extrace method public static void setForeground(JEditorPane editor, Color fg) { if (editor != null) { if (fg != null) { MutableAttributeSet attr = new SimpleAttributeSet(); StyleConstants.setForegroun d(attr, fg); setCharacterAttributes(editor, public static void setForeground(JEditorPane editor, Color fg) { setGround(editor, fg); } private static void setGround(JEditorPane editor, Color fg) { if (editor != null) { if (fg != null) {

收藏

分享

举报
下载此文档