Browse Source

内部类中访问本地变量; 需要被声明为最终类型

master
kerry 8 years ago
parent
commit
0b0b65061d
  1. 2
      designer/src/com/fr/design/widget/ui/DateEditorDefinePane.java

2
designer/src/com/fr/design/widget/ui/DateEditorDefinePane.java

@ -73,7 +73,7 @@ public class DateEditorDefinePane extends DirectWriteEditorDefinePane<DateEditor
patternTextField.getDocument().addDocumentListener(patternTextDocumentListener);
String[] arr = getDateFormateArray();
UIComboBox comboBox = new UIComboBox(arr);
final UIComboBox comboBox = new UIComboBox(arr);
comboBox.setPreferredSize(new Dimension(150,20));
comboBox.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){

Loading…
Cancel
Save