JBrowser Source Code Files

JBrowser Source Code Files are provided in the source package file.

You can download JBrowser source package as described in the previous tutorial and go to the "src" sub-folder to view Source Code files.

You can also browse JBrowser Source Code files below:

✍: FYIcenter

org/mozilla/browser/MozillaKeyEvent.java

package org.mozilla.browser;

import java.awt.Component;
import java.awt.event.KeyEvent;

import org.w3c.dom.Node;

/**
 * AWT key event extension.
 * Adds the DOM node reference.
 */
public class MozillaKeyEvent extends KeyEvent {

    private static final long serialVersionUID = -7780924825975544053L;

    private final Node sourceNode;

    /**
     * Creates a new mozilla key event.
     *
     * @param source see {@link KeyEvent}
     * @param sourceNode DOM node source
     * @param id see {@link KeyEvent}
     * @param when see {@link KeyEvent}
     * @param modifiers see {@link KeyEvent}
     * @param keyCode see {@link KeyEvent}
     * @param keyChar see {@link KeyEvent}
     */
    public MozillaKeyEvent(Component source,
                           Node sourceNode,
                           int id, long when,
                           int modifiers,
                           int keyCode, char keyChar)
    {
        super(source, id, when, modifiers, keyCode, keyChar);
        this.sourceNode = sourceNode;
    }

    /**
     * Returns DOM node this event was fired from.
     *
     * @return DOM node that fired the event
     */
    public Node getSourceNode() {
        return sourceNode;
    }

}

org/mozilla/browser/MozillaKeyEvent.java

Or download all of them as a single archive file:

File name: jbrowser-1.9-fyi.zip
File size: 625318 bytes
Release date: 2022-11-10
Download 

 

Downloading JBrowser 1.9

Download and Install JBrowser Source Package

Download and Review JBrowser

⇑⇑ FAQ for JBrowser

2017-07-17, 9294👍, 1💬