870N/A @summary verifies that drag events are coming for every button if the property is set to true
870N/A System.out.println("Dragged "+e);// +" : "+ e.getButton() + " : " +e.getButtonState(e.getButton()));
870N/A Point centerFrame = new Point(frame.getLocationOnScreen().x + frame.getWidth()/2, frame.getLocationOnScreen().y + frame.getHeight()/2);
870N/A Point outboundsFrame = new Point(frame.getLocationOnScreen().x + frame.getWidth()*3/2, frame.getLocationOnScreen().y + frame.getHeight()/2);
870N/A System.out.println("areExtraMouseButtonsEnabled() == " + Toolkit.getDefaultToolkit().areExtraMouseButtonsEnabled() );
870N/A System.out.println("button to drag = " +(i+1) + " : value passed to robot = " +buttonMask[i]);
870N/A } catch (IllegalArgumentException e){
870N/A //this is a choice-case for X protocol issue: native events from extra buttons doesn't contain
870N/A // the correct state so it's unable to decide if there is a drag or move. By default we send MOVED event.
870N/A throw new RuntimeException("Test failed."+ tk +" Button = " +(i+1) + " moved = "+moved +" : dragged = " +dragged);