Browse Source

Merge pull request #246 in BA/design from ~KERRY/design:dev to dev

* commit '0b0b65061d00a646f7dcb75d835ea6460e1b3830':
  内部类中访问本地变量; 需要被声明为最终类型
master
superman 8 years ago
parent
commit
5db5558959
  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); patternTextField.getDocument().addDocumentListener(patternTextDocumentListener);
String[] arr = getDateFormateArray(); String[] arr = getDateFormateArray();
UIComboBox comboBox = new UIComboBox(arr); final UIComboBox comboBox = new UIComboBox(arr);
comboBox.setPreferredSize(new Dimension(150,20)); comboBox.setPreferredSize(new Dimension(150,20));
comboBox.addActionListener(new ActionListener(){ comboBox.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){ public void actionPerformed(ActionEvent e){

Loading…
Cancel
Save