()
| 92 | } |
| 93 | |
| 94 | public byte[] getData() { |
| 95 | switch (packet_pane.getSelectedIndex()) { |
| 96 | |
| 97 | case 0 : |
| 98 | return received_panel.getData(); |
| 99 | case 1 : |
| 100 | return decoded_panel.getData(); |
| 101 | case 2 : |
| 102 | return modified_panel.getData(); |
| 103 | case 3 : |
| 104 | return sent_panel.getData(); |
| 105 | default : |
| 106 | return modified_panel.getData(); |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | public void update() { |
| 111 | if (showing_packet == null) { |
nothing calls this directly
no test coverage detected