net.fs.utils.LogOutputStream Java Examples
The following examples show how to use
net.fs.utils.LogOutputStream.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LogFrame.java From NSS with Apache License 2.0 | 6 votes |
@Override public void onAppendContent(LogOutputStream los,final String text) { SwingUtilities.invokeLater(new Runnable() { @Override public void run() { logArea.append(text); trunkTextArea(logArea); if(autoScroll){ logArea.setCaretPosition(logArea.getDocument().getLength()); // JScrollBar vertical = scroll.getVerticalScrollBar(); // vertical.setValue(vertical.getMaximum() ); } } }); }
Example #2
Source File: LogFrame.java From finalspeed-91yun with GNU General Public License v2.0 | 6 votes |
@Override public void onAppendContent(LogOutputStream los,final String text) { SwingUtilities.invokeLater(new Runnable() { @Override public void run() { logArea.append(text); trunkTextArea(logArea); if(autoScroll){ logArea.setCaretPosition(logArea.getDocument().getLength()); // JScrollBar vertical = scroll.getVerticalScrollBar(); // vertical.setValue(vertical.getMaximum() ); } } }); }
Example #3
Source File: LogFrame.java From finalspeed with GNU General Public License v2.0 | 6 votes |
@Override public void onAppendContent(LogOutputStream los, final String text) { SwingUtilities.invokeLater(new Runnable() { @Override public void run() { logArea.append(text); trunkTextArea(logArea); if (autoScroll) { logArea.setCaretPosition(logArea.getDocument().getLength()); // JScrollBar vertical = scroll.getVerticalScrollBar(); // vertical.setValue(vertical.getMaximum() ); } } }); }