Examples of EAIDebugWindow


Examples of csa.jportal.ai.enhancedAI.EAIDebugWindow

        if (!( nowMatch.getPlayer(playerNo) instanceof  MatchComputerPlayer)) return null;
        if (((MatchComputerPlayer) nowMatch.getPlayer(playerNo) ).getEAI() == null) return null;


//        final EAIDebugWindow results = new EAIDebugWindow(mMatch, playerNo);
        results = new EAIDebugWindow(nowMatch, playerNo);

        JPortalInternalFrame frame = new JPortalInternalFrame();
        frame.addPanel(results);
        frame.setSize(719, 690);
        frame.addInternalFrameListener(new javax.swing.event.InternalFrameAdapter() {
            @Override
            public void internalFrameClosed(javax.swing.event.InternalFrameEvent evt) {
                EAIDebugWindow eaiDebug = (EAIDebugWindow) ((JPortalInternalFrame)evt.getInternalFrame()).getPanel();
                if (eaiDebug != null)
                {
                    eaiDebug.deinit();
                }
                results = null;
            }
        });
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.