Package org.berlin.patterns.swing.app.gui.Components

Examples of org.berlin.patterns.swing.app.gui.Components.ITextArea.defaultSettings()


            } // End of the if - file exists //       
            final GlobalConfiguration globalConf = new GlobalConfiguration().load(GlobalConfiguration.PATH);
            globalConf.loadFromDynamicScript(propsLocalFile);                       
            // End of load conf //           
            final ITextArea textArea = new OutputTextArea(ta);
            textArea.defaultSettings();
            ta.setEditable(false);
            ((BasicWindow) this.getBasicWindow()).setOutputTextArea(textArea);
            textArea.setText("System Loaded - " + Version.num + (new Date()) + "\nWith action.command set to help, hit the execute button for help.\nAlso visit browser at http://localhost:7181\nParseLogs - the premier way to scan for errors and data in log files\n" + globalConf.getTopMessage() + "\n");     
            return this;
        } // End of the method //
View Full Code Here


         * @return WindowBuilder
         */
        public WindowBuilder withInputCommandArea() {           
            final JTextArea ta = new JTextArea("");
            final ITextArea textArea = new CommandInputArea(ta);                                  
            textArea.defaultSettings();
           
            final Font font = new Font("Courier New", Font.BOLD, 14);
            ta.setFont(font);                                              
            ((BasicWindow) this.getBasicWindow()).setInputTextArea(textArea);
           
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.