Package client.custom

Examples of client.custom.JCustomPane


    queuedTable.setOpaque(false);
    queuedTable.getTableHeader().setOpaque(false);
    queuedTable.getTableHeader().setBackground(new Color(0,true));
    queuedTable.getTableHeader().setPreferredSize(new Dimension(0,18));   
   
    queuedPlayerPane = new JCustomPane(queuedTable, Constants.TEXTAREA_TILE_IMAGE_PATH);
    queuedPlayerPane.setPreferredSize(new Dimension(JOINED_PANE_WIDTH, JOINED_PANE_HEIGHT));
    queuedPlayerPane.setMaximumSize(new Dimension(JOINED_PANE_WIDTH, JOINED_PANE_HEIGHT));
    queuedPlayerPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
    queuedPlayerPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    queuedPlayerPane.getViewport().setOpaque(false);
View Full Code Here


    leaderArea.setFont(Constants.tahoma_small_normal);
    leaderArea.setForeground(Color.WHITE);
    leaderArea.setEditable(false);
    leaderArea.setOpaque(false);
   
    leaderAreaPane = new JCustomPane(leaderArea, Constants.TEXTAREA_TILE_IMAGE_PATH);
    leaderAreaPane.setPreferredSize(new Dimension(LEADER_AREA_WIDTH - 3, LEADER_AREA_HEIGHT - 26));
    leaderAreaPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    leaderAreaPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
    leaderAreaPane.getVerticalScrollBar().addAdjustmentListener(new LeaderboardScrollListener());
    leaderAreaPane.setOpaque(false);
View Full Code Here

    logArea.setEditable(false);
    logArea.setFont(Constants.tahoma_mediumsmall_normal);
    logArea.setForeground(Color.WHITE);
    logArea.setOpaque(false);

    logAreaPane = new JCustomPane(logArea, Constants.TEXTAREA_TILE_IMAGE_PATH);
    logAreaPane.setPreferredSize(new Dimension(INFO_AREA_WIDTH - 6, INFO_AREA_HEIGHT - 25));
    logAreaPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    logAreaPane.getVerticalScrollBar().addAdjustmentListener(new LogScrollListener());
    logAreaPane.setOpaque(false);
    logAreaPane.getViewport().setOpaque(false);
View Full Code Here

TOP

Related Classes of client.custom.JCustomPane

Copyright © 2018 www.massapicom. 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.