|
|
@ -595,7 +595,7 @@ public class AlphaFineDialog extends UIDialog { |
|
|
|
httpClient.setTimeout(5000); |
|
|
|
httpClient.setTimeout(5000); |
|
|
|
httpClient.asGet(); |
|
|
|
httpClient.asGet(); |
|
|
|
if (!httpClient.isServerAlive()) { |
|
|
|
if (!httpClient.isServerAlive()) { |
|
|
|
FRLogger.getLogger().error("404"); |
|
|
|
FRLogger.getLogger().error("Failed to sent data to server!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
@ -626,10 +626,6 @@ public class AlphaFineDialog extends UIDialog { |
|
|
|
repaint(); |
|
|
|
repaint(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void updatePopup() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private SearchResult getMoreResult(MoreModel selectedValue) { |
|
|
|
private SearchResult getMoreResult(MoreModel selectedValue) { |
|
|
|
SearchResult moreResult; |
|
|
|
SearchResult moreResult; |
|
|
|
switch (selectedValue.getType()) { |
|
|
|
switch (selectedValue.getType()) { |
|
|
@ -655,14 +651,6 @@ public class AlphaFineDialog extends UIDialog { |
|
|
|
return (SearchListModel) searchResultList.getModel(); |
|
|
|
return (SearchListModel) searchResultList.getModel(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// //测试
|
|
|
|
|
|
|
|
// public static void main(String[] args) {
|
|
|
|
|
|
|
|
// AlphaFineDialog alphaFineDialog = new AlphaFineDialog(DesignerContext.getDesignerFrame());
|
|
|
|
|
|
|
|
// alphaFineDialog.setSize(new Dimension(680,55));
|
|
|
|
|
|
|
|
// alphaFineDialog.setVisible(true);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public SearchListModel setListModel(SearchListModel jListModel) { |
|
|
|
public SearchListModel setListModel(SearchListModel jListModel) { |
|
|
|
this.searchListModel = jListModel; |
|
|
|
this.searchListModel = jListModel; |
|
|
|
return this.searchListModel; |
|
|
|
return this.searchListModel; |
|
|
@ -676,4 +664,5 @@ public class AlphaFineDialog extends UIDialog { |
|
|
|
this.searchWorker = searchWorker; |
|
|
|
this.searchWorker = searchWorker; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |