Search in sources :

Example 1 with KeyboardInputPanel

use of nars.gui.input.KeyboardInputPanel in project opennars by opennars.

the class KeyboardInputExample method main.

public static void main(String[] args) {
    // NAR n = NAR.build(new Neuromorphic().realTime());
    // NAR n = NAR.build(new Default().realTime());
    // n.param.duration.set(100);
    NARSwing.themeInvert();
    NAR n = new NAR();
    new NARSwing(n).themeInvert();
    new NWindow("Direct Keyboard Input", new KeyboardInputPanel(n)).show(300, 100, false);
    n.start(100);
}
Also used : KeyboardInputPanel(nars.gui.input.KeyboardInputPanel) NARSwing(nars.gui.NARSwing) NWindow(automenta.vivisect.swing.NWindow) NAR(nars.main.NAR)

Aggregations

NWindow (automenta.vivisect.swing.NWindow)1 NARSwing (nars.gui.NARSwing)1 KeyboardInputPanel (nars.gui.input.KeyboardInputPanel)1 NAR (nars.main.NAR)1