Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import java.awt.event.InputEvent;

public class Main {
    static boolean isRightDown(final InputEvent event) {
        final int modifiersEx = event.getModifiersEx();
        final int flag = modifiersEx & InputEvent.BUTTON3_DOWN_MASK;
        return flag != 0;
    }
}