Searched refs:JButton (Results 1 - 25 of 213) sorted by relevance

123456789

/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djavax_swing_JButton.java27 * @summary Tests JButton encoding
31 import javax.swing.JButton;
33 public final class javax_swing_JButton extends AbstractTest<JButton> {
38 protected JButton getObject() {
39 return new JButton("First");
42 protected JButton getAnotherObject() {
43 return new JButton("Second");
H A DTest4652928.java37 import javax.swing.JButton;
54 context.add(new JButton("button"));
56 JButton button = new JButton();
H A DTest4903007.java33 import javax.swing.JButton;
44 vBox.add(new JButton("button"));
48 vBox.add(new JButton("button"));
53 hBox.add(new JButton("button"));
57 hBox.add(new JButton("button"));
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest4461329.java31 import javax.swing.JButton;
40 JButton button = new JButton("Color"); // NON-NLS: simple label
H A DTest6348456.java37 import javax.swing.JButton;
50 JButton button = new JButton("Swap models");
/openjdk7/jdk/test/java/beans/Statement/
H A DTest4653179.java32 import javax.swing.JButton;
47 valueInt = testInt(Class.class, "forName", "javax.swing.JButton");
48 if (!valueInt.equals(JButton.class))
51 valueNew = testNew(Class.class, "forName", "javax.swing.JButton");
52 if (!valueNew.equals(JButton.class))
56 testInt(JButton.class, "new");
57 testNew(JButton.class, "new");
/openjdk7/jdk/test/java/beans/PropertyChangeSupport/
H A DTestSynchronization.java33 import javax.swing.JButton;
39 final JButton button = new JButton();
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWButtonPeer.java34 import javax.swing.JButton;
36 final class LWButtonPeer extends LWComponentPeer<Button, JButton>
45 protected JButton createDelegate() {
77 private final class JButtonDelegate extends JButton {
/openjdk7/jdk/test/javax/swing/plaf/synth/SynthToolBarUI/6739756/
H A Dbug6739756.java50 JButton button = new JButton("Test");
/openjdk7/jdk/test/java/awt/Focus/NoAutotransferToDisabledCompTest/
H A DNoAutotransferToDisabledCompTest.java44 JButton b0 = new JButton("b0");
45 JButton b1 = new JButton("b1");
46 JButton b2 = new JButton("b2");
/openjdk7/jdk/test/java/awt/Focus/FocusTraversalPolicy/
H A DInitialFTP_Swing.java10 import javax.swing.JButton;
33 JButton button = new JButton("button");
H A DLayoutFTPTest.java149 cont.add(registerComponent("btn " + (j + i*100), new JButton("jbutton")));
223 jframe.add(registerComponent("btn 1", new JButton("jbutton")));
226 cont.add(registerComponent("btn 2", new JButton("jbutton")));
227 cont.add(registerComponent("btn 3", new JButton("jbutton")));
230 jframe.add(registerComponent("btn 4", new JButton("jbutton")));
297 jframe.add(registerComponent("btn 1", new JButton("jbutton")));
300 cont.add(registerComponent("btn 2", new JButton("jbutton")));
301 cont.add(registerComponent("btn 3", new JButton("jbutton")));
304 jframe.add(registerComponent("btn 4", new JButton("jbutton")));
372 cont.add(registerComponent("btn 1", new JButton("jbutto
[all...]
/openjdk7/jdk/test/java/beans/EventHandler/
H A DTest6179222.java32 import javax.swing.JButton;
51 JButton button = new JButton("hi");
H A DTest6788531.java31 import javax.swing.JButton;
37 JButton button = new JButton("hi");
/openjdk7/jdk/test/java/beans/XMLDecoder/spec/
H A DTestObject.java31 import javax.swing.JButton;
41 + " <object id=\"button\" class=\"javax.swing.JButton\">\n"
69 JButton button = (JButton) panel.getComponents()[0];
/openjdk7/jdk/test/javax/swing/border/
H A DTest4247606.java36 import javax.swing.JButton;
44 JButton button = new JButton("Button"); // NON-NLS: the button text
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJButton.java78 public class JButton extends AbstractButton implements Accessible { class in inherits:AbstractButton,Accessible
89 public JButton() { method in class:JButton
98 public JButton(Icon icon) { method in class:JButton
108 public JButton(String text) { method in class:JButton
120 public JButton(Action a) { method in class:JButton
131 public JButton(String text, Icon icon) { method in class:JButton
255 * Returns a string representation of this <code>JButton</code>.
261 * @return a string representation of this <code>JButton</code>
277 * <code>JButton</code>. For <code>JButton</cod
[all...]
/openjdk7/jdk/test/java/beans/Introspector/
H A DTest4619792.java35 import javax.swing.JButton;
57 JButton.class,
/openjdk7/jdk/test/java/awt/Focus/RequestFocusToDisabledCompTest/
H A DRequestFocusToDisabledCompTest.java44 JButton b0 = new JButton("b0");
45 JButton b1 = new JButton("b1");
/openjdk7/jdk/test/javax/swing/JButton/6604281/
H A Dbug6604281.java60 JButton button1 = new JButton(new IconUIResource(new ImageIcon(image)));
62 JButton button2 = new JButton(new IconUIResource(new ImageIcon(image)));
/openjdk7/jdk/test/javax/swing/JComboBox/6337518/
H A Dbug6337518.java35 protected JButton createArrowButton() {
/openjdk7/jdk/test/javax/swing/JLayer/SerializationTest/
H A DSerializationTest.java44 JLayer<JButton> layer = new JLayer<JButton>(new JButton("Hello"));
46 layer.setUI(new TestLayerUI<JButton>());
/openjdk7/jdk/test/javax/swing/JFileChooser/4847375/
H A Dbug4847375.java87 JButton newFolderButton = findNewFolderButton(fileChooser);
108 private JButton findNewFolderButton(Container container) {
109 JButton result = null;
114 if (c instanceof JButton && newFolderToolTipText.equals(((JButton) c).getToolTipText())) {
119 result = (JButton) c;
123 JButton button = findNewFolderButton((Container) c);
/openjdk7/jdk/test/javax/swing/JRootPane/4670486/
H A Dbug4670486.java65 JButton button = new JButton("Button");
66 JButton button2 = new JButton("Button 2");
67 JButton button3 = new JButton("Button 3");
/openjdk7/jdk/test/java/awt/Container/ValidateRoot/
H A DInvalidateMustRespectValidateRoots.java45 final JButton button = new JButton();

Completed in 64 milliseconds

123456789