Package org.iremake.client.ui.map

Examples of org.iremake.client.ui.map.MiniMapPanel


     */
    private JComponent createMapTab() {
        JPanel panel = new JPanel();

        // create mini map and add to panel
        miniMapPanel = new MiniMapPanel(scenario);

        // terrain button
        final JButton terrainButton = Button.EditorTerrain.create();
        terrainButton.setToolTipText("Modify terrain of current tile.");
        terrainButton.addActionListener(new ActionListener() {
View Full Code Here


        // add buttons to toolbar
        ButtonBar ubar = new ButtonBar();
        ubar.add(saveButton, exitButton);

        // create mini map and add to panel
        miniMapPanel = new MiniMapPanel(scenario);
        miniMapPanel.setFocusChangedListener(mainMapPanel);


        ButtonBar lbar = new ButtonBar();
        for (final GamePanel p : GamePanel.values()) {
View Full Code Here

TOP

Related Classes of org.iremake.client.ui.map.MiniMapPanel

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.