Archives > House of Random

Press Ctrl+V

Pages: << < (60/254) > >>

Mojo:

class Hyperactive implements HyperlinkListener {
 
         public void hyperlinkUpdate(HyperlinkEvent e) {
             if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
                 JEditorPane pane = (JEditorPane) e.getSource();
                 if (e instanceof HTMLFrameHyperlinkEvent) {
                     HTMLFrameHyperlinkEvent  evt = (HTMLFrameHyperlinkEvent)e;
                     HTMLDocument doc = (HTMLDocument)pane.getDocument();
                     doc.processHTMLFrameHyperlinkEvent(evt);
                 } else {
                     try {
                         pane.setPage(e.getURL());
                     } catch (Throwable t) {
                         t.printStackTrace();
                     }
                 }
             }
         }
     }

Randy:

Teamwork

Keith:

!

Keith:

http://s3-ec.buzzfed.com/static/enhanced/webdr02/2012/12/3/10/anigif_enhanced-buzz-30175-1354549727-4.gif

Randy:

 :birthday:

Pages: << < (60/254) > >>

Go to full version