Package org.gjt.jclasslib.browser

Examples of org.gjt.jclasslib.browser.BrowserComponent


    public void show(TreePath treePath) {
       
        CodeAttribute attribute = (CodeAttribute)findAttribute(treePath);
        if (byteCodeDisplay.getCodeAttribute() != attribute) {
           
            BrowserComponent browserComponent = services.getBrowserComponent();
            browserComponent.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
            try {
                byteCodeDisplay.setCodeAttribute(attribute, services.getClassFile());
                counterDisplay.init(byteCodeDisplay);

                byteCodeDisplay.scrollRectToVisible(RECT_ORIGIN);

                scrollPane.validate();
                scrollPane.repaint();
            } finally {
                browserComponent.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.gjt.jclasslib.browser.BrowserComponent

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.