Examples of RowEntryPanel


Examples of com.barrybecker4.game.common.ui.panel.RowEntryPanel

        JLabel numCardsRemainingText = new InfoLabel( GameContext.getLabel("NUMBER_OF_CARDS_REMAINING"));
        numCardsRemainingLabel_ = new InfoLabel( " " );
        numCardsRemainingLabel_.setHorizontalAlignment(JLabel.LEFT);

        add(new RowEntryPanel(numSetsOnBoardText, numSetsOnBoardLabel_));
        add(new RowEntryPanel(numCardsRemainingText, numCardsRemainingLabel_));

        add(Box.createGlue());
    }
View Full Code Here

Examples of com.barrybecker4.game.common.ui.panel.RowEntryPanel

        JLabel chanceOfWinningTextLabel = new InfoLabel( m );
        chanceOfWinningTextLabel.setHorizontalAlignment(JLabel.LEFT);
        chanceOfWinningLabel_ = new InfoLabel( "   " );
        //showRecommendedMove_ = new JCheckBox( "Show recommended move", false );

        add(new RowEntryPanel(turnLabel, playerLabel_));
        add(new RowEntryPanel(moveNumTextLabel, moveNumLabel_));
        add(new RowEntryPanel(chanceOfWinningTextLabel, chanceOfWinningLabel_));
        // add this back in when it is implemented
        //generalPanel.add( createRowEntryPanel(showRecommendedMove_) );
        add(Box.createGlue());
    }
View Full Code Here

Examples of com.barrybecker4.game.common.ui.panel.RowEntryPanel

        JPanel capturesPanel = new SectionPanel(GameContext.getLabel("NUMBER_OF_CAPTURES"));
        PlayerList players = getController().getPlayers();
        JLabel p1 = new InfoLabel( players.getPlayer1().getName());
        JLabel p2 = new InfoLabel( players.getPlayer2().getName());
        capturesPanel.add(new RowEntryPanel( p1, p1CapturesLabel_ ));
        capturesPanel.add(new RowEntryPanel( p2, p2CapturesLabel_ ));

        JPanel territoryPanel = new SectionPanel(GameContext.getLabel("EST_TERRITORY"));
        JLabel blackTerr = new InfoLabel( GameContext.getLabel("EST_BLACK_TERR"));
        JLabel whiteTerr = new InfoLabel( GameContext.getLabel("EST_WHITE_TERR"));
        territoryPanel.add(new RowEntryPanel( blackTerr, p1TerritoryLabel_ ));
        territoryPanel.add(new RowEntryPanel( whiteTerr, p2TerritoryLabel_ ));

        customPanel.add( capturesPanel );
        customPanel.add( territoryPanel );

        return customPanel;
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.