public static void main(String[] args) {
    connectionFactory = lookup(ConnectionFactory.class, JNDI_CONNECTION_FACTORY);
    topic = lookup(Topic.class, JNDI_TOPIC);

    context = connectionFactory.createContext();

    JFrame frame = new JFrame("KwetterMonitorFrame");
    frame.setContentPane(new KwetterMonitorFrame().formPanel);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.pack();
    frame.setSize(900, 500);
    frame.setVisible(true);
  }