Examples of MageRoundPane


Examples of mage.client.components.MageRoundPane

        f.setVisible(true);

        MageFloatPane fp = new MageFloatPane();
        fp.setCard("Card");

        MageRoundPane popupContainer = new MageRoundPane();
        popupContainer.setLayout(null);

        popupContainer.add(fp);
        //popupContainer.setVisible(false);
        popupContainer.setBounds(0, 0, 320 + 80, 201 + 80);


        JDialog floatOnParent = new JDialog(f, false);
        floatOnParent.setUndecorated(true);
        floatOnParent.getContentPane().add(popupContainer);
View Full Code Here

Examples of mage.client.components.MageRoundPane

     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    private void initComponents() {

        panelBackground = new MageRoundPane();
        panelBackground.setPreferredSize(new Dimension(PANEL_WIDTH - 2, PANEL_HEIGHT));
        Rectangle r = new Rectangle(80, 80);
        timerLabel = new JLabel();
        lifeLabel = new JLabel();
        handLabel = new JLabel();
View Full Code Here

Examples of mage.client.components.MageRoundPane

        }
        cardInfoPane.setSize(Constants.TOOLTIP_WIDTH_MIN, Constants.TOOLTIP_HEIGHT_MIN);
        cardInfoPane.setLocation(40, 40);
        cardInfoPane.setBackground(new Color(0, 0, 0, 0));

        MageRoundPane popupContainer = new MageRoundPane();
        popupContainer.setLayout(null);

        popupContainer.add(cardInfoPane);
        popupContainer.setVisible(false);
        popupContainer.setBounds(0, 0,
                Constants.TOOLTIP_WIDTH_MIN + Constants.TOOLTIP_BORDER_WIDTH,
                Constants.TOOLTIP_HEIGHT_MIN + Constants.TOOLTIP_BORDER_WIDTH);

        desktopPane.add(popupContainer, JLayeredPane.POPUP_LAYER);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.