MCPcopy Create free account
hub / github.com/bit4woo/ReSign / mouseClicked

Method mouseClicked

src/custom/CGUI.java:162–174  ·  view source on GitHub ↗
(MouseEvent e)

Source from the content-addressed store, hash-verified

160 JLabel lblNewLabel = new JLabel(extenderName+" https://github.com/bit4woo");
161 lblNewLabel.addMouseListener(new MouseAdapter() {
162 @Override
163 public void mouseClicked(MouseEvent e) {
164 try {
165 URI uri = new URI("https://github.com/bit4woo");
166 Desktop desktop = Desktop.getDesktop();
167 if(Desktop.isDesktopSupported()&&desktop.isSupported(Desktop.Action.BROWSE)){
168 desktop.browse(uri);
169 }
170 } catch (Exception e2) {
171 // TODO: handle exception
172 }
173
174 }
175 @Override
176 public void mouseEntered(MouseEvent e) {
177 lblNewLabel.setForeground(Color.BLUE);

Callers

nothing calls this directly

Calls 1

setTextMethod · 0.80

Tested by

no test coverage detected