JMPanel panelColumn1;
JMPanel panelColumn2;
JMPanel panelLabels;
JMPanel panelData;
JMPanel panel;
Label label;
this.setLayout ( new GridLayout(1,0,24,6) );
panelColumn1 = new JMPanel ( new BorderLayout(6,6) );
this.add ( panelColumn1 );
panelColumn2 = new JMPanel ( new BorderLayout(6,6) );
this.add ( panelColumn2 );
panel = new JMPanel ( new BorderLayout(6,6) );
panelColumn1.add ( panel, BorderLayout.NORTH );
panelLabels = new JMPanel ( new GridLayout(0,1,0,0) );
panel.add ( panelLabels, BorderLayout.WEST );
panelData = new JMPanel ( new GridLayout(0,1,0,0) );
panel.add ( panelData, BorderLayout.CENTER );
label = new Label ( LABEL_TOTAL_PACKETS );
panelLabels.add ( label );
fieldTotalRtpPackets = new Label ( "000000000000" );
panelData.add ( fieldTotalRtpPackets );
label = new Label ( LABEL_TOTAL_BYTES );
panelLabels.add ( label );
fieldTotalBytes = new Label ();
panelData.add ( fieldTotalBytes );
label = new Label ( LABEL_BAD_RTP_PACKETS );
panelLabels.add ( label );
fieldBadRtpPackets = new Label ();
panelData.add ( fieldBadRtpPackets );
label = new Label ( LABEL_LOCAL_COLLISIONS );
panelLabels.add ( label );
fieldLocalCollisions = new Label ();
panelData.add ( fieldLocalCollisions );
label = new Label ( LABEL_REMOTE_COLLISIONS );
panelLabels.add ( label );
fieldRemoteCollisions = new Label ();
panelData.add ( fieldRemoteCollisions );
label = new Label ( LABEL_PACKETS_LOOPED );
panelLabels.add ( label );
fieldPacketsLooped = new Label ();
panelData.add ( fieldPacketsLooped );
label = new Label ( LABEL_FAILED_TRANSMISSIONS );
panelLabels.add ( label );
fieldFailedTransmissions = new Label ();
panelData.add ( fieldFailedTransmissions );
panel = new JMPanel ( new BorderLayout(6,6) );
panelColumn2.add ( panel, BorderLayout.NORTH );
panelLabels = new JMPanel ( new GridLayout(0,1,0,0) );
panel.add ( panelLabels, BorderLayout.WEST );
panelData = new JMPanel ( new GridLayout(0,1,0,0) );
panel.add ( panelData, BorderLayout.CENTER );
label = new Label ( LABEL_RTCP_PACKETS );
panelLabels.add ( label );
fieldRtcpPackets = new Label ();
panelData.add ( fieldRtcpPackets );
label = new Label ( LABEL_SR_PACKETS );
panelLabels.add ( label );
fieldSrPackets = new Label ();
panelData.add ( fieldSrPackets );
label = new Label ( LABEL_BAD_RTCP_PACKETS );
panelLabels.add ( label );
fieldBadRtcpPackets = new Label ();
panelData.add ( fieldBadRtcpPackets );
label = new Label ( LABEL_UNKNOWN_RTCP_TYPES );
panelLabels.add ( label );
fieldUnknownRtcpTypes = new Label ();
panelData.add ( fieldUnknownRtcpTypes );
label = new Label ( LABEL_MALFORMED_RR );
panelLabels.add ( label );
fieldMalformedRr = new Label ();
panelData.add ( fieldMalformedRr );
label = new Label ( LABEL_MALFORMED_SDES );
panelLabels.add ( label );
fieldMalformedSdes = new Label ();
panelData.add ( fieldMalformedSdes );
label = new Label ( LABEL_MALFORMED_BYE );
panelLabels.add ( label );
fieldMalformedBye = new Label ();
panelData.add ( fieldMalformedBye );
label = new Label ( LABEL_MALFORMED_SR );
panelLabels.add ( label );
fieldMalformedSr = new Label ();
panelData.add ( fieldMalformedSr );
updateFields ();