|
|
@ -110,12 +110,14 @@ public class FormHyperlinkNorthPane extends BasicBeanPane<FormHyperlinkProvider> |
|
|
|
} |
|
|
|
} |
|
|
|
String editorName = formHyperlink.getRelateEditorName(); |
|
|
|
String editorName = formHyperlink.getRelateEditorName(); |
|
|
|
//防止初始的时候有空白选项
|
|
|
|
//防止初始的时候有空白选项
|
|
|
|
if (editorName == null) { |
|
|
|
String[] formHyperlinkEditNames = getFormHyperlinkEditNames(); |
|
|
|
return; |
|
|
|
if (editorName == null && formHyperlinkEditNames.length > 0) { |
|
|
|
|
|
|
|
editorName = formHyperlinkEditNames[0]; |
|
|
|
|
|
|
|
formHyperlink.setRelateEditorName(editorName); |
|
|
|
} |
|
|
|
} |
|
|
|
if (targetFrameComboBox != null) { |
|
|
|
if (targetFrameComboBox != null) { |
|
|
|
//noinspection unchecked
|
|
|
|
//noinspection unchecked
|
|
|
|
targetFrameComboBox.setModel(new DefaultComboBoxModel(getFormHyperlinkEditNames())); |
|
|
|
targetFrameComboBox.setModel(new DefaultComboBoxModel(formHyperlinkEditNames)); |
|
|
|
targetFrameComboBox.setSelectedItem(editorName); |
|
|
|
targetFrameComboBox.setSelectedItem(editorName); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|