// create and show, with zero address data public void testZeroAddr() throws Exception { StatusFrame f = new StatusFrame(); f.initComponents(); f.setVisible(true); f.setSource( new DataSource() { void sendBytes(byte[] bytes) {} }); f.asciiFormattedMessage(PocketTesterTest.version); f.asciiFormattedMessage(PocketTesterTest.speed0003A); f.asciiFormattedMessage(PocketTesterTest.idlePacket); f.asciiFormattedMessage(PocketTesterTest.status6); f.asciiFormattedMessage(PocketTesterTest.status2); f.dispose(); }