Package dsto.dfc.swing.logging

Components for displaying log messages.

See:
          Description

Class Summary
AwtEventThreadExceptionLogger Sends unhandled exceptions in the AWT event loop to the system log.
CmdShowLogWindow Shows the log window managed by a LogWindowPopper instance.
LogMessageTable Display a LogMessageBuffer in a table view.
LogMessageTableModel Adapts a LogMessageBuffer to the Swing TableModel interface.
LogPanel Displays log messages in a formatted text pane.
LogWindow Displays a browsable table of log events and optionally shows settings for auto popup on error and warning message events.
LogWindowPopper Manages auto popup of the log window when selected types of log events occur.
LogWindowPopperEditor Edits the properties of a LogWindowPopper.
 

Package dsto.dfc.swing.logging Description

Components for displaying log messages.

Examples

To save log messages use a LogMessageBuffer. To display them in a log window, pass the buffer to LogWindow.
    LogMessageBuffer buffer = new LogMessageBuffer ();
    LogWindow window = new LogWindow (client, buffer, false);

    window.pack ();
    window.setVisible (true);
  
You can use LogWindowPopper to automatically create a log window view on a buffer when certain types of log events (usually errors and warnings) appear.
    new LogWindowPopper (client, buffer)
  



Copyright © 2008 Commonwealth of Australia