Searched refs:failButton (Results 26 - 50 of 59) sorted by relevance

123

/openjdk10/jdk/test/javax/swing/JMenuItem/ClickMenuTestManual/
H A DClickMenuTestManual.java65 private static JButton failButton; field in class:ClickMenuTestManual
120 failButton = new JButton("Fail");
121 failButton.setActionCommand("Fail");
122 failButton.addActionListener(this);
128 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/javax/swing/plaf/nimbus/
H A DTestDisabledToolTipBorder.java89 private static JButton failButton; field in class:TestUI
145 failButton = new JButton("Fail");
146 failButton.setActionCommand("Fail");
147 failButton.addActionListener((ActionEvent e) -> {
160 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/javax/swing/JButton/
H A DTimeChangeButtonClickTest.java95 private static JButton failButton; field in class:TestUI
187 failButton = new JButton("Fail");
188 failButton.setActionCommand("Fail");
189 failButton.addActionListener(new ActionListener() {
203 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/javax/swing/JTextArea/8148555/
H A DJTextAreaEmojiTest.java58 private static JButton failButton; field in class:JTextAreaEmojiTest
121 failButton = new JButton("Fail");
122 failButton.setActionCommand("Fail");
123 failButton.addActionListener(JTextAreaEmojiTest.this);
129 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/javax/print/attribute/
H A DServiceDialogValidateTest.java140 final JButton failButton = new JButton("FAIL");
141 failButton.setEnabled(false);
142 failButton.addActionListener((e) -> {
150 failButton.setEnabled(true);
157 buttonPanel.add(failButton);
H A DServiceDlgPageRangeTest.java141 final JButton failButton = new JButton("FAIL");
142 failButton.setEnabled(false);
143 failButton.addActionListener((e) -> {
151 failButton.setEnabled(true);
158 buttonPanel.add(failButton);
H A DServiceDlgSheetCollateTest.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/javax/swing/JColorChooser/
H A DTest8152419.java75 private static JButton failButton; field in class:JColorChooserTest
141 failButton = new JButton("Fail");
142 failButton.setActionCommand("Fail");
143 failButton.addActionListener(new ActionListener() {
156 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/javax/swing/JFileChooser/GodMode/
H A DJFileChooserTest.java88 private static JButton failButton; field in class:TestUI
150 failButton = new JButton("Fail");
151 failButton.setActionCommand("Fail");
152 failButton.addActionListener(new ActionListener() {
165 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/javax/swing/JTable/
H A DJTableScrollTest.java153 final JButton failButton = new JButton("FAIL");
154 failButton.setEnabled(false);
155 failButton.addActionListener((e) -> {
167 failButton.setEnabled(true);
174 buttonPanel.add(failButton);
H A DLostTextTest.java156 final JButton failButton = new JButton("FAIL");
157 failButton.addActionListener((e) -> {
166 buttonPanel.add(failButton);
/openjdk10/jdk/test/javax/swing/JSlider/SliderTick/
H A DSliderTickTest.java94 private static JButton failButton; field in class:TestUI
151 failButton = new JButton("Fail");
152 failButton.setActionCommand("Fail");
153 failButton.addActionListener(new ActionListener() {
166 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/javax/swing/plaf/basic/BasicScrollPaneUI/8166591/
H A DTooMuchWheelRotationEventsTest.java108 JButton failButton = new JButton("Fail");
109 failButton.setActionCommand("Fail");
110 failButton.addActionListener(new ActionListener() {
124 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/javax/swing/plaf/motif/8165485/
H A DMotifHiDPIIconsTest.java113 JButton failButton = new JButton("Fail");
114 failButton.setActionCommand("Fail");
115 failButton.addActionListener(new ActionListener() {
129 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/javax/swing/plaf/windows/8165594/
H A DWindowsClassicHiDPIIconsTest.java117 JButton failButton = new JButton("Fail");
118 failButton.setActionCommand("Fail");
119 failButton.addActionListener(new ActionListener() {
133 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/java/awt/image/VolatileImage/
H A DVolatileImageConfigurationTest.java71 private JButton failButton; field in class:VolatileImageConfigurationTest
101 failButton = new JButton("Fail");
102 failButton.setActionCommand("Fail");
103 failButton.setEnabled(true);
104 failButton.addActionListener(this);
109 buttonPanel.add(failButton);
/openjdk10/jdk/test/java/awt/TrayIcon/UpdatePopupMenu/
H A DUpdatePopupMenu.java59 private static Button failButton; field in class:UpdatePopupMenu
162 failButton = new Button("Fail");
163 failButton.setName("Fail");
164 failButton.addActionListener(this);
171 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/java/awt/Robot/HiDPIScreenCapture/
H A DScreenCaptureResolutionTest.java115 private static JButton failButton; field in class:TestUI
223 failButton = new JButton("Fail");
224 failButton.setActionCommand("Fail");
225 failButton.addActionListener(new ActionListener() {
240 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/java/awt/image/multiresolution/MultiResolutionTrayIconTest/
H A DMultiResolutionTrayIconTest.java61 private static JButton failButton; field in class:MultiResolutionTrayIconTest
122 failButton = new JButton("Fail");
123 failButton.setActionCommand("Fail");
124 failButton.addActionListener(new ActionListener() {
138 resultButtonPanel.add(failButton, gbc);
/openjdk10/jdk/test/java/awt/print/PrinterJob/
H A DLinearGradientPrintingTest.java199 final JButton failButton = new JButton("FAIL");
200 failButton.setEnabled(false);
201 failButton.addActionListener((e) -> {
210 failButton.setEnabled(true);
217 buttonPanel.add(failButton);
H A DTexturePaintPrintingTest.java177 final JButton failButton = new JButton("FAIL");
178 failButton.setEnabled(false);
179 failButton.addActionListener((e) -> {
188 failButton.setEnabled(true);
195 buttonPanel.add(failButton);
H A DRadialGradientPrintingTest.java200 final JButton failButton = new JButton("FAIL");
201 failButton.setEnabled(false);
202 failButton.addActionListener((e) -> {
211 failButton.setEnabled(true);
218 buttonPanel.add(failButton);
/openjdk10/jdk/test/java/awt/print/PageFormat/
H A DWrongPaperPrintingTest.java182 final JButton failButton = new JButton("FAIL");
191 failButton.setEnabled(true);
205 failButton.setEnabled(false);
206 failButton.addActionListener((e) -> {
219 buttonPanel.add(failButton);
H A DImageableAreaTest.java311 final JButton failButton = new JButton("FAIL");
312 failButton.setEnabled(false);
313 failButton.addActionListener((e) -> {
320 failButton.setEnabled(true);
327 buttonPanel.add(failButton);
/openjdk10/jdk/test/java/awt/Window/WindowResizingOnDPIChanging/
H A DWindowResizingOnDPIChangingTest.java148 JButton failButton = new JButton("Fail");
149 failButton.setActionCommand("Fail");
150 failButton.addActionListener(new ActionListener() {
164 resultButtonPanel.add(failButton, gbc);

Completed in 202 milliseconds

123