Package weka.gui

Class LogWindow

    • Field Detail

      • COLOR_STDOUT

        public static final Color COLOR_STDOUT
        the color of the style for stdout
      • COLOR_STDERR

        public static final Color COLOR_STDERR
        the Color of the style for stderr
      • DEBUG

        public static final boolean DEBUG
        whether we're debugging - enables output on stdout
        See Also:
        Constant Field Values
      • m_UseWordwrap

        public boolean m_UseWordwrap
        whether the JTextPane has wordwrap or not
    • Constructor Detail

      • LogWindow

        public LogWindow()
        creates the frame
    • Method Detail

      • clear

        public void clear()
        clears the output
      • close

        public void close()
        closes the frame
      • trim

        public void trim()
        trims the JTextPane, if too big
      • setWordwrap

        public void setWordwrap​(boolean wrap)
        toggles the wordwrap
        override wordwrap from: http://forum.java.sun.com/thread.jspa?threadID=498535&messageID=2356174
      • main

        public static void main​(String[] args)
        for testing only