Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. List<Some type> list = getFullData(host,port,user,password);
  2. for(int h = 0;h<=list.size();h++){
  3. MessageHeaderID config1 = (MessageHeaderID)list.get(h);
  4. String senderComponent = config1.getSenderComponentID();
  5. List<IntegratedConfiguration> list1 = getSingleData(host, hostport, user, password, senderComponent);
  6.  
  7. for(int i = 0; i<list1.size();i++){
  8.  
  9. IntegratedConfiguration config = (IntegratedConfiguration)list1.get(0);
  10. if (list1.size() <= 0) {
  11.  
  12. JOptionPane.showMessageDialog(null,"No Data Found");
  13. }
  14. else {
  15.  
  16.  
  17.  
  18. sb.append(((OutboundProcessing)config.getOutboundProcessing().get(0)).getReceiver().getComponentID());
  19.  
  20. sb.append("n");
  21.  
  22.  
  23. }
  24.  
  25. }
  26.  
  27. start = start + 40;
  28. end = end + 40;
  29. }
  30. JTextArea text = new JTextArea(sb.toString());
  31. JOptionPane.showMessageDialog(null,text);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement