Searched defs:btn1 (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/test/java/awt/Focus/RemoveAfterRequest/
H A DRemoveAfterRequest.java46 final static Button btn1 = new Button("btn1"); field in class:RemoveAfterRequest
52 frame.add(btn1);
60 if (!btn1.hasFocus()) {
61 btn1.requestFocus();
63 if (!btn1.hasFocus()) {
64 throw new TestErrorException("couldn't focus " + btn1);
71 frame.remove(btn1);

Completed in 133 milliseconds