import horb.orb.*; import javax.swing.*; import java.awt.event.*; import java.awt.*; public class Server1 { public static void main(String args[]) { HORBServer hs = new HORBServer(9111); Comm com = new Comm(); ChatFrame1 fra = new ChatFrame1(); // fra.setParty(new Comm_Proxy("horb://localhost:9000/00")); fra.setVisible(true); com.set(fra); HORBServer.registerObject("Comm",com,"01"); fra.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); } }