Пример #1
0
 void saveButton_actionPerformed(ActionEvent e) {
   updateEditableTemplate(selectedPane);
   originalTemplate.setFormat(editableTemplate.m_format);
   originalTemplate.setTokens(editableTemplate.m_tokens);
   m_data.updateTemplateData(originalTemplate);
   setVisible(false);
 }
Пример #2
0
 void printfTabPane_stateChanged(ChangeEvent e) {
   updateEditableTemplate(selectedPane);
   selectedPane = printfTabPane.getSelectedIndex();
   updatePane(selectedPane);
 }