thumbRepository.request(downProf.getProxyProfile(), tempDir, id);
final RequestProcess rp = new RequestProcess(downProf, id, convProf);
- taskManager.add(rp);
- targetModel.addTarget(new Target(rp));
- initInputPanel();
+ final boolean res = taskManager.add(rp);
+ if (res) {
+ targetModel.addTarget(new Target(rp));
+ initInputPanel();
+ } else {
+ fldInputMessage.setText("行うべき処理がありません");
+ }
} catch (Throwable th) {
logger.error(null, th);
JOptionPane.showMessageDialog(MainFrame.this, th.getMessage(), "中断しました", JOptionPane.ERROR_MESSAGE);
// End of variables declaration//GEN-END:variables
private void initInputPanel() {
+ fldInputMessage.setText("");
initMainTab();
initFfmpegTab();
tbpInput.setSelectedIndex(0);