001package bradleyross.library.helpers.tests; 002import java.io.IOException; 003import bradleyross.library.helpers.WebTable; 004import bradleyross.library.helpers.GenericPrinter; 005public class TestWebTable extends WebTable 006{ 007 public static void main (String args[]) 008 { 009 try { 010 TestWebTable instance = new TestWebTable(); 011 GenericPrinter out = new GenericPrinter(System.out); 012 instance.setOutput(out); 013 instance.startTable(); 014 015 instance.setColumnCount(4); 016 instance.formatHeaderRow("First", "Second", "Third", "Fourth"); 017 instance.finishTable(); 018 } catch (IOException e) { 019 System.out.println(e.getClass().getName() + " " + e.getMessage()); 020 e.printStackTrace(); 021 } 022 } 023}