[摘要]New menu item. if (okToAbandon()) // clears the text of the TextArea jTextArea1.setText(&quo...
New menu item.
if (okToAbandon()) {
// clears the text of the TextArea
jTextArea1.setText("");
// clear the current filename and set the file as clean:
currFileName = null;
dirty = false;
updateCaption();
}
}
添加一个文件选择对话框
将File
关键词:JBuilder 9 开发一个文本编辑器