Package client.custom

Examples of client.custom.DrawingPanel


    //Create the contentpane JPanel(bgPanel) of the frame, the root container for all following elements
    bgPanel = new JCustomPanel(new BorderLayout(), Constants.MAIN_BACKGROUND_IMAGE_PATH);
    bgPanel.setBorder(BorderFactory.createMatteBorder(1,1,1,1,Color.BLACK));
    setContentPane(bgPanel);
    //Create a panel for animation behaviour (drawingPanel) to display dice rolls etc.
    drawingPanel = new DrawingPanel(curGameDice);
    drawingPanel.addMouseListener(new ClickDiceListener());
    drawingPanel.setOpaque(false);
   
    getContentPane().add(drawingPanel);
  }
View Full Code Here

TOP

Related Classes of client.custom.DrawingPanel

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.