ConsoleStyledDocument doc = (ConsoleStyledDocument)consoleTextPane.getStyledDocument();
boolean[] filterValues = null; boolean isAllSelected = true; ConsoleNodeOutputFilter currentFilter = listener.getFilter(); if (currentFilter != null) { filterValues = currentFilter.getValues(); isAllSelected = currentFilter.isAllSelected(); } ConsoleNodeOutputFilter filter = new ConsoleNodeOutputFilter(filterValues, isAllSelected); listener.setFilter(filter);
  private void filter_actionPerformed() {    ConsoleStyledDocument doc =       (ConsoleStyledDocument)consoleTextPane.getStyledDocument();  }