Browse Source

REPORT-72634 设计器卡顿优化一期

feature/x
John.Ying 2 years ago
parent
commit
c71043cab6
  1. 4
      designer-base/src/main/java/com/fr/design/gui/date/JDateDocument.java

4
designer-base/src/main/java/com/fr/design/gui/date/JDateDocument.java

@ -10,7 +10,6 @@ import javax.swing.text.JTextComponent;
import javax.swing.text.PlainDocument;
/**
*
*/
public class JDateDocument extends PlainDocument{
private JTextComponent textComponent; //日期输入文本框
@ -50,7 +49,6 @@ public class JDateDocument extends PlainDocument {
/**
* 设置当前日期格式
*
* @param dateFormat SimpleDateFormat
*/
public void setDateFormat(SimpleDateFormat dateFormat){
@ -59,7 +57,6 @@ public class JDateDocument extends PlainDocument {
/**
* 取得当前日期格式
*
* @return SimpleDateFormat
*/
public SimpleDateFormat getDateFormat(){
@ -68,7 +65,6 @@ public class JDateDocument extends PlainDocument {
/**
* 取得当前系统日时
*
* @return String
*/
public static String getCurrentDate(SimpleDateFormat smFormat){

Loading…
Cancel
Save