Example usage for java.awt.event KeyEvent VK_F5

List of usage examples for java.awt.event KeyEvent VK_F5

Introduction

In this page you can find the example usage for java.awt.event KeyEvent VK_F5.

Prototype

int VK_F5

To view the source code for java.awt.event KeyEvent VK_F5.

Click Source Link

Document

Constant for the F5 function key.

Usage

From source file:library.Form_Library.java

License:asdf

private void jPanel3KeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jPanel3KeyPressed
    if (evt.getKeyCode() == KeyEvent.VK_F5) {
        System.out.println("hello f4");
    }/*from w ww .j a v  a  2 s  . c o  m*/
}

From source file:library.Form_Library.java

License:asdf

private void jPanel1KeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jPanel1KeyPressed
    if (evt.getKeyCode() == KeyEvent.VK_F5) {
        System.out.println("hello f4");
    }//from  w  ww .j a v a2s . c o m
}

From source file:library.Form_Library.java

License:asdf

private void formKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_formKeyPressed
    if (evt.getKeyCode() == KeyEvent.VK_F5) {
        System.out.println("hello f4");
    }/*from   w  w w  . ja v  a  2  s. c  om*/
}