src/net/java/sip/communicator/impl/gui/main/chat/conference/InvitationReceivedDialog.java
/**
     * Initializes and builds the GUI.
     */
Initializes and builds the GUI.
Initializes and builds the GUI .
public void initGUI()
    {
        this.infoTextArea.setFont(infoTextArea.getFont().deriveFont(Font.BOLD));
        this.infoTextArea.setLineWrap(true);
        this.infoTextArea.setOpaque(false);
        this.infoTextArea.setWrapStyleWord(true);
        this.infoTextArea.setEditable(false);
        this.northPanel.add(iconLabel, BorderLayout.WEST);
        this.northPanel.add(infoTextArea, BorderLayout.CENTER);
        this.northPanel.setOpaque(false);
        this.reasonPanel.add(reasonLabel, BorderLayout.WEST);
        this.reasonPanel.add(reasonField, BorderLayout.CENTER);
        this.reasonPanel.setOpaque(false);
        this.dataPanel.add(reasonPanel, BorderLayout.SOUTH);
        this.dataPanel.setOpaque(false);
        this.acceptButton.addActionListener(this);
        this.rejectButton.addActionListener(this);
        this.ignoreButton.addActionListener(this);
        this.buttonsPanel.add(acceptButton);
        this.buttonsPanel.add(rejectButton);
        this.buttonsPanel.add(ignoreButton);
        this.buttonsPanel.setOpaque(false);
        this.getRootPane().setDefaultButton(acceptButton);
        this.acceptButton.setMnemonic(
            GuiActivator.getResources().getI18nMnemonic("service.gui.ACCEPT"));
        this.rejectButton.setMnemonic(
            GuiActivator.getResources().getI18nMnemonic("service.gui.REJECT"));
        this.ignoreButton.setMnemonic(
            GuiActivator.getResources().getI18nMnemonic("service.gui.IGNORE"));
        this.mainPanel.setBorder(
            BorderFactory.createEmptyBorder(15, 15, 15, 15));
        this.mainPanel.add(northPanel, BorderLayout.NORTH);
        this.mainPanel.add(dataPanel, BorderLayout.CENTER);
        this.mainPanel.add(buttonsPanel, BorderLayout.SOUTH);
        this.mainPanel.setOpaque(false);
        this.getContentPane().add(mainPanel);
        this.pack();
    }
public void initGUI ( ) { this . infoTextArea . setFont ( infoTextArea . getFont ( ) . deriveFont ( Font . BOLD ) ) ; this . infoTextArea . setLineWrap ( true ) ; this . infoTextArea . setOpaque ( false ) ; this . infoTextArea . setWrapStyleWord ( true ) ; this . infoTextArea . setEditable ( false ) ; this . northPanel . add ( iconLabel , BorderLayout . WEST ) ; this . northPanel . add ( infoTextArea , BorderLayout . CENTER ) ; this . northPanel . setOpaque ( false ) ; this . reasonPanel . add ( reasonLabel , BorderLayout . WEST ) ; this . reasonPanel . add ( reasonField , BorderLayout . CENTER ) ; this . reasonPanel . setOpaque ( false ) ; this . dataPanel . add ( reasonPanel , BorderLayout . SOUTH ) ; this . dataPanel . setOpaque ( false ) ; this . acceptButton . addActionListener ( this ) ; this . rejectButton . addActionListener ( this ) ; this . ignoreButton . addActionListener ( this ) ; this . buttonsPanel . add ( acceptButton ) ; this . buttonsPanel . add ( rejectButton ) ; this . buttonsPanel . add ( ignoreButton ) ; this . buttonsPanel . setOpaque ( false ) ; this . getRootPane ( ) . setDefaultButton ( acceptButton ) ; this . acceptButton . setMnemonic ( GuiActivator . getResources ( ) . getI18nMnemonic ( "service.gui.ACCEPT" ) ) ; this . rejectButton . setMnemonic ( GuiActivator . getResources ( ) . getI18nMnemonic ( "service.gui.REJECT" ) ) ; this . ignoreButton . setMnemonic ( GuiActivator . getResources ( ) . getI18nMnemonic ( "service.gui.IGNORE" ) ) ; this . mainPanel . setBorder ( BorderFactory . createEmptyBorder ( 15 , 15 , 15 , 15 ) ) ; this . mainPanel . add ( northPanel , BorderLayout . NORTH ) ; this . mainPanel . add ( dataPanel , BorderLayout . CENTER ) ; this . mainPanel . add ( buttonsPanel , BorderLayout . SOUTH ) ; this . mainPanel . setOpaque ( false ) ; this . getContentPane ( ) . add ( mainPanel ) ; this . pack ( ) ; }
Initializes and builds the GUI.
Initializes and builds the GUI .