(MouseEvent e)
| 194 | JLabel lblNewLabel = new JLabel(extenderName+" https://github.com/bit4woo"); |
| 195 | lblNewLabel.addMouseListener(new MouseAdapter() { |
| 196 | @Override |
| 197 | public void mouseClicked(MouseEvent e) { |
| 198 | try { |
| 199 | URI uri = new URI("https://github.com/bit4woo"); |
| 200 | Desktop desktop = Desktop.getDesktop(); |
| 201 | if(Desktop.isDesktopSupported()&&desktop.isSupported(Desktop.Action.BROWSE)){ |
| 202 | desktop.browse(uri); |
| 203 | } |
| 204 | } catch (Exception e2) { |
| 205 | // TODO: handle exception |
| 206 | BurpExtender.this.callbacks.printError(e2.getMessage()); |
| 207 | } |
| 208 | |
| 209 | } |
| 210 | @Override |
| 211 | public void mouseEntered(MouseEvent e) { |
| 212 | lblNewLabel.setForeground(Color.BLUE); |
nothing calls this directly
no test coverage detected