Searched refs:failButton (Results 1 - 25 of 59) sorted by relevance

123

/openjdk10/jdk/test/java/awt/Frame/GetBoundsResizeTest/
H A DGetBoundsResizeTest.java77 Button failButton; field in class:TestDialog
95 failButton = new Button("Fail");
97 failButton.addActionListener(this);
99 buttonPanel.add(failButton);
115 else if ( event.getSource() == failButton ) {
/openjdk10/jdk/test/java/awt/Mouse/8158205/
H A DMouseHandCursorTest.java51 private static JButton failButton; field in class:MouseHandCursorTest
92 failButton = new JButton("Fail");
93 failButton.setActionCommand("Fail");
94 failButton.addActionListener(new ActionListener() {
107 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/java/awt/print/PrinterJob/
H A DPrintTest.java114 final JButton failButton = new JButton("FAIL");
115 failButton.setEnabled(false);
116 failButton.addActionListener((e) -> {
124 failButton.setEnabled(true);
131 buttonPanel.add(failButton);
H A DPageDialogMarginValidation.java104 final JButton failButton = new JButton("FAIL");
105 failButton.setEnabled(false);
106 failButton.addActionListener((e) -> {
114 failButton.setEnabled(true);
121 buttonPanel.add(failButton);
H A DPrintDlgSelectionAttribTest.java130 final JButton failButton = new JButton("FAIL");
131 failButton.setEnabled(false);
132 failButton.addActionListener((e) -> {
140 failButton.setEnabled(true);
147 buttonPanel.add(failButton);
H A DPrintTestLexmarkIQ.java128 final JButton failButton = new JButton("FAIL");
129 failButton.setEnabled(false);
130 failButton.addActionListener((e) -> {
138 failButton.setEnabled(true);
145 buttonPanel.add(failButton);
H A DBannerTest.java127 final JButton failButton = new JButton("FAIL");
128 failButton.setEnabled(false);
129 failButton.addActionListener((e) -> {
137 failButton.setEnabled(true);
144 buttonPanel.add(failButton);
H A DDlgAttrsBug.java118 final JButton failButton = new JButton("FAIL");
119 failButton.setEnabled(false);
120 failButton.addActionListener((e) -> {
128 failButton.setEnabled(true);
135 buttonPanel.add(failButton);
H A DPrintDlgPageable.java115 final JButton failButton = new JButton("FAIL");
116 failButton.setEnabled(false);
117 failButton.addActionListener((e) -> {
125 failButton.setEnabled(true);
132 buttonPanel.add(failButton);
H A DTestMediaTraySelection.java143 final JButton failButton = new JButton("FAIL");
144 failButton.setEnabled(false);
145 failButton.addActionListener((e) -> {
153 failButton.setEnabled(true);
160 buttonPanel.add(failButton);
H A DTestPageDlgFrameAssociation.java135 final JButton failButton = new JButton("FAIL");
136 failButton.setEnabled(false);
137 failButton.addActionListener((e) -> {
145 failButton.setEnabled(true);
152 buttonPanel.add(failButton);
H A DTestPrintDlgFrameAssociation.java134 final JButton failButton = new JButton("FAIL");
135 failButton.setEnabled(false);
136 failButton.addActionListener((e) -> {
144 failButton.setEnabled(true);
151 buttonPanel.add(failButton);
H A DTestCheckSystemDefaultBannerOption.java137 final JButton failButton = new JButton("FAIL");
138 failButton.setEnabled(false);
139 failButton.addActionListener((e) -> {
147 failButton.setEnabled(true);
154 buttonPanel.add(failButton);
/openjdk10/jdk/test/java/awt/keyboard/Bug8158478/
H A DTest8158478.java67 private static Button failButton; field in class:X11KeysymTest
124 failButton = new Button("Fail");
125 failButton.setActionCommand("Fail");
126 failButton.addActionListener(new ActionListener() {
139 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/javax/swing/LookAndFeel/6439354/
H A DTitledBorderTest.java71 private static JButton failButton; field in class:TitledBorder
138 failButton = new JButton("Fail");
139 failButton.setActionCommand("Fail");
140 failButton.addActionListener(new ActionListener() {
154 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/javax/swing/JFormattedTextField/7070795/
H A DJFormattedTextFieldTest.java52 private static JButton failButton; field in class:JFormattedTextFieldTest
94 failButton = new JButton("Fail");
95 failButton.setActionCommand("Fail");
96 failButton.addActionListener(JFormattedTextFieldTest.this);
102 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/java/awt/print/Dialog/RestoreActiveWindowTest/
H A DRestoreActiveWindowTest.java57 private static Button failButton; field in class:RestoreActiveWindowTest
144 failButton = new Button("Fail");
145 failButton.setName("Fail");
146 failButton.addActionListener((ActionListener) this);
155 resultButtonPanel.add(failButton, gbc);
186 failButton.setEnabled(status);
/openjdk10/jdk/test/javax/swing/plaf/metal/MetalIcons/
H A DMetalHiDPIIconsTest.java103 JButton failButton = new JButton("Fail");
104 failButton.setActionCommand("Fail");
105 failButton.addActionListener(new ActionListener() {
119 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/java/awt/Modal/InvisibleParentTest/
H A DInvisibleParentTest.java97 private static JButton failButton; field in class:TestUI
147 failButton = new JButton("Fail");
148 failButton.setActionCommand("Fail");
149 failButton.addActionListener(new ActionListener() {
163 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/java/awt/PrintJob/
H A DTestPrintJobFrameAssociation.java138 final JButton failButton = new JButton("FAIL");
139 failButton.setEnabled(false);
140 failButton.addActionListener((e) -> {
148 failButton.setEnabled(true);
155 buttonPanel.add(failButton);
/openjdk10/jdk/test/java/awt/image/multiresolution/MultiResolutionIcon/
H A DMultiResIconTest.java58 private static JButton failButton; field in class:MultiResIconTest
120 failButton = new JButton("Fail");
121 failButton.setActionCommand("Fail");
122 failButton.addActionListener(new ActionListener() {
137 resultButtonPanel.add(failButton, gbc);
H A DIconTest.java57 private static JButton failButton; field in class:IconTest
121 failButton = new JButton("Fail");
122 failButton.setActionCommand("Fail");
123 failButton.addActionListener(new ActionListener() {
136 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/java/awt/font/Fallback/
H A DMissingGlyphTest.java112 final JButton failButton = new JButton("FAIL");
113 failButton.setEnabled(false);
114 failButton.addActionListener((e) -> {
123 failButton.setEnabled(true);
130 buttonPanel.add(failButton);
/openjdk10/jdk/test/java/awt/dnd/URLDragTest/
H A DDragLinkFromBrowser.java58 private static Button failButton; field in class:DragLinkFromBrowser
160 failButton = new Button("Fail");
161 failButton.setName("Fail");
162 failButton.addActionListener(this);
169 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/java/awt/image/MemoryLeakTest/
H A DMemoryLeakTest.java61 Button failButton; field in class:TestDialog
83 failButton = new Button("Fail");
85 failButton.addActionListener(this);
87 buttonPanel.add(failButton);
103 else if ( event.getSource() == failButton ) {

Completed in 191 milliseconds

123