Package jpa.tools.swing

Examples of jpa.tools.swing.ScrollingTextPane


    private JTabbedPane createOutputView() {
        JTabbedPane pane = new JTabbedPane();
        pane.setPreferredSize(OUT_VIEW);
       
        _sqlListener = new SQLLogger();
        _sqlLog = new ScrollingTextPane();
       
        GraphicOutputStream stream = new GraphicOutputStream(_sqlLog);
        _sqlLog.setPreferredSize(TAB_VIEW);
        _sqlListener.setOutput(stream);
        pane.addTab("SQL Log", new JScrollPane(_sqlLog));
       
        ScrollingTextPane consoleLog = new ScrollingTextPane();
        GraphicOutputStream console = new GraphicOutputStream(consoleLog);
        System.setErr(new PrintStream(console, true));
        pane.addTab("Console", new JScrollPane(consoleLog));
       
        return pane;
View Full Code Here

TOP

Related Classes of jpa.tools.swing.ScrollingTextPane

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.