@@ -0,0 +1,1696 @@
+import java.awt.BorderLayout;%0Aimport java.awt.Container;%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0Aimport java.io.PrintWriter;%0Aimport java.io.StringWriter;%0A%0Aimport javax.swing.JButton;%0Aimport javax.swing.JFrame;%0Aimport javax.swing.JTextArea;%0A%0Aimport com.skype.ContactList;%0Aimport com.skype.Friend;%0Aimport com.skype.Skype;%0Aimport com.skype.SkypeException;%0A%0Apublic class Mass extends JFrame %7B%0A%09%0A%09/**%0A%09 * %0A%09 */%0A%09private static final long serialVersionUID = 1L;%0A%09%0A%09private Panel panel;%0A%09%0A%09StringWriter sw = new StringWriter();%0A%09%0A%09public void mass(String msg) throws SkypeException, InterruptedException%7B%0A%09%09ContactList contacts = Skype.getContactList();%0A%09%09Friend friends%5B%5D = contacts.getAllFriends();%0A%09    for(int i=0; i %3C friends.length; i++) %7B%0A%09       Friend u = friends%5Bi%5D;%0A%09       u.chat().send(msg);%0A%09    %7D%0A%09%7D%0A%09%0A%09public Mass(String title) %7B%0A%09%09super(title);%0A%09%09%0A%09%09setLayout(new BorderLayout());%0A%09%09%0A%09%09final JTextArea text = new JTextArea();%0A%09%09final JButton button = new JButton(%22Send!%22);%0A%09%09%0A%09%09Container c = getContentPane();%0A%09%09%0A%09%09panel = new Panel();%0A%09%09%0A%09%09c.add(text, BorderLayout.CENTER);%0A%09%09c.add(button, BorderLayout.SOUTH);%0A%09%09c.add(panel, BorderLayout.WEST);%0A%09%09%0A%09%09button.addActionListener(new ActionListener() %7B%0A%0A%09%09%09@Override%0A%09%09%09public void actionPerformed(ActionEvent e) %7B%0A%09%09%09%09String msg = text.getText();%0A%09%09%09%09if(text.getText().isEmpty()) %7B%0A%09%09%09%09%09text.append(%22%5CnYou gotta enter a message..%22);%0A%09%09%09%09%7D else %7B%0A%09%09%09%09try %7B%0A%09%09%09%09%09mass(msg);%0A%09%09%09%09%7D catch (SkypeException %7C InterruptedException e1) %7B%0A%09%09%09%09%09e1.printStackTrace(new PrintWriter(sw));%0A%09%09%09%09%09String error = sw.toString();%0A%09%09%09%09%09text.setText(%22%5BERROR%5D: %22 + error);%0A%09%09%09%09%7D%0A%09%09%09%09text.append(%22%5CnSent.%22);%0A%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D);%0A%09%7D%0A%7D%0A

Create Mass.java