Searched refs:add (Results 226 - 250 of 3388) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/security/PermissionCollection/
H A DAddToReadOnlyPermissionCollection.java28 * @summary PermissionCollection.setReadOnly() does not preclude using add()
82 pc.add(p1);
98 pc.add(p1);
115 pc.add(p1);
131 pc.add(p1);
147 pc.add(p1);
/openjdk7/jdk/test/java/util/PriorityQueue/
H A DPriorityQueueSort.java61 sorted.add(new Integer(i));
67 pq.add(i.next());
71 recons.add(pq.remove());
78 recons.add(pq.remove());
89 recons.add(pq.remove());
/openjdk7/jdk/test/javax/sound/midi/Gervill/SimpleInstrument/
H A DAddModelPerformer.java27 @summary Test SimpleInstrument add(ModelPerformer) method */
55 performers[0].getConnectionBlocks().add(new ModelConnectionBlock());
56 performers[0].getOscillators().add(new ModelByteBufferWavetable(new ModelByteBuffer(new byte[] {1,2,3})));
66 performers[1].getConnectionBlocks().add(new ModelConnectionBlock());
67 performers[1].getOscillators().add(new ModelByteBufferWavetable(new ModelByteBuffer(new byte[] {1,2,3})));
69 instrument.add(performers[0]);
H A DAddModelPerformerArray.java27 @summary Test SimpleInstrument add(ModelPerformer[]) method */
55 performers[0].getConnectionBlocks().add(new ModelConnectionBlock());
56 performers[0].getOscillators().add(new ModelByteBufferWavetable(new ModelByteBuffer(new byte[] {1,2,3})));
66 performers[1].getConnectionBlocks().add(new ModelConnectionBlock());
67 performers[1].getOscillators().add(new ModelByteBufferWavetable(new ModelByteBuffer(new byte[] {1,2,3})));
69 instrument.add(performers);
H A DAddModelPerformerArrayIntInt.java27 @summary Test SimpleInstrument add(ModelPerformer[],int,int) method */
55 performers[0].getConnectionBlocks().add(new ModelConnectionBlock());
56 performers[0].getOscillators().add(new ModelByteBufferWavetable(new ModelByteBuffer(new byte[] {1,2,3})));
66 performers[1].getConnectionBlocks().add(new ModelConnectionBlock());
67 performers[1].getOscillators().add(new ModelByteBufferWavetable(new ModelByteBuffer(new byte[] {1,2,3})));
69 instrument.add(performers,18,40);
H A DAddModelPerformerIntInt.java27 @summary Test SimpleInstrument add(ModelPerformer,int,int) method */
55 performers[0].getConnectionBlocks().add(new ModelConnectionBlock());
56 performers[0].getOscillators().add(new ModelByteBufferWavetable(new ModelByteBuffer(new byte[] {1,2,3})));
66 performers[1].getConnectionBlocks().add(new ModelConnectionBlock());
67 performers[1].getOscillators().add(new ModelByteBufferWavetable(new ModelByteBuffer(new byte[] {1,2,3})));
69 instrument.add(performers[0],18,40);
/openjdk7/jdk/test/javax/swing/JMenuItem/ShortcutNotDiplayed/
H A DShortcutNotDisplayedTest.java65 menu.add(newItem);
68 bar.add(menu);
100 testFrame.getContentPane().add(sp);
101 testFrame.getContentPane().add(passBtn);
102 testFrame.getContentPane().add(failBtn);
/openjdk7/jdk/test/javax/swing/JPopupMenu/6987844/
H A Dbug6987844.java54 menu1.add(new JMenuItem("item"));
55 bar.add(menu1);
57 menu2.add(new JMenuItem("item"));
58 menu2.add(new JMenuItem("item"));
59 bar.add(menu2);
/openjdk7/jdk/test/sun/java2d/cmm/ProfileOp/
H A DSetDataTest.java112 tests.add(selfupdate);
118 tests.add(newValdTag);
124 tests.add(newInvalidTag);
130 tests.add(newUnknowInvalidTag);
136 tests.add(newUnknownValidTag);
/openjdk7/jdk/src/share/classes/java/awt/image/renderable/
H A DParameterBlock.java43 * add and set methods are available that take arguments of base type and
49 * "short s; add(s)" and "add(new Short(s))".
86 * <p> The addSource, setSource, add, and set methods are
92 * op = new RenderableImageOp("operation", pb.add(arg1).add(arg2));
319 * @param obj the <code>Object</code> to add to the
324 public ParameterBlock add(Object obj) { method in class:ParameterBlock
331 * @param b the byte to add to the
336 public ParameterBlock add(byt method in class:ParameterBlock
347 public ParameterBlock add(char c) { method in class:ParameterBlock
358 public ParameterBlock add(short s) { method in class:ParameterBlock
369 public ParameterBlock add(int i) { method in class:ParameterBlock
380 public ParameterBlock add(long l) { method in class:ParameterBlock
391 public ParameterBlock add(float f) { method in class:ParameterBlock
402 public ParameterBlock add(double d) { method in class:ParameterBlock
[all...]
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/
H A DX509Data.java96 this.add(new XMLX509IssuerSerial(this._doc, X509IssuerName,
107 this.add(new XMLX509IssuerSerial(this._doc, X509IssuerName,
118 this.add(new XMLX509IssuerSerial(this._doc, X509IssuerName,
123 * Method add
127 public void add(XMLX509IssuerSerial xmlX509IssuerSerial) { method in class:X509Data
140 this.add(new XMLX509SKI(this._doc, skiBytes));
151 this.add(new XMLX509SKI(this._doc, x509certificate));
155 * Method add
159 public void add(XMLX509SKI xmlX509SKI) { method in class:X509Data
170 this.add(ne
187 public void add(XMLX509SubjectName xmlX509SubjectName) { method in class:X509Data
217 public void add(XMLX509Certificate xmlX509Certificate) { method in class:X509Data
236 public void add(XMLX509CRL xmlX509CRL) { method in class:X509Data
[all...]
/openjdk7/jdk/test/java/awt/Menu/OpensWithNoGrab/
H A DOpensWithNoGrab.java63 ch.add("line 1");
64 ch.add("line 2");
65 ch.add("line 3");
66 ch.add("line 4");
68 f.add(ch);
72 mb.add(file);
74 file.add(new MenuItem (" "));
75 file.add(new MenuItem (" "));
76 file.add(new MenuItem (" "));
77 file.add(ne
[all...]
/openjdk7/jdk/test/tools/launcher/
H A DExecutionEnvironment.java50 * a. perhaps we need to add a test to audit all environment variables are
52 * launcher may add as implementation details.
53 * b. add a pldd for solaris to ensure only one libjvm.so is linked
96 codeList.add("static void printValue(String name, boolean property) {\n");
97 codeList.add(" String value = (property) ? System.getProperty(name) : System.getenv(name);\n");
98 codeList.add(" System.out.println(name + \"=\" + value);\n");
99 codeList.add("}\n");
100 codeList.add("public static void main(String... args) {\n");
101 codeList.add(" System.out.println(\"Execute test:\");\n");
102 codeList.add(" printValu
[all...]
H A DToolsOpts.java87 contents.add("package com.sun.tools.javac;");
88 contents.add("public class Main {");
89 contents.add(" public static void main(String... args) {\n");
90 contents.add(" for (String x : args) {\n");
91 contents.add(" if(x.compareTo(\" \")!=0)\n");
92 contents.add(" System.out.println(x);\n");
93 contents.add(" }\n");
94 contents.add(" }\n");
95 contents.add("}\n");
/openjdk7/jdk/src/share/demo/jfc/Font2DTest/
H A DRangeMenu.java108 dialogTop.add( from );
109 dialogTop.add( customRangeStart );
110 dialogTop.add( to );
111 dialogTop.add( customRangeEnd );
112 dialogBottom.add( okButton );
116 customRangeDialog.getContentPane().add( "North", dialogTop );
117 customRangeDialog.getContentPane().add( "South", dialogBottom );
204 ranges.add(0);
210 ranges.add(cp);
215 ranges.add(c
[all...]
/openjdk7/jdk/src/share/demo/jfc/TableExample/
H A DTableExample.java146 namePanel.add(userNameLabel);
147 namePanel.add(passwordLabel);
148 namePanel.add(serverLabel);
149 namePanel.add(driverLabel);
153 fieldPanel.add(userNameField);
154 fieldPanel.add(passwordField);
155 fieldPanel.add(serverField);
156 fieldPanel.add(driverField);
158 connectionPanel.add(namePanel);
159 connectionPanel.add(fieldPane
[all...]
/openjdk7/jdk/test/java/awt/Focus/NonFocusableWindowTest/
H A DNoEventsTest.java67 main_frame.add(focus_button);
186 add("Center", panel);
190 add("North", l);
211 add("Center", panel);
215 add("North", l);
234 add("Center", panel);
238 add("North", l);
283 add(b = new Button("press"+ row + "" + col));
291 add(t = new TextField("text" + row + "" + col));
295 add(lis
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/
H A DHSDB.java156 menu.add(item);
157 attachMenuItems.add(item);
167 menu.add(item);
168 attachMenuItems.add(item);
178 menu.add(item);
179 attachMenuItems.add(item);
189 menu.add(item);
190 detachMenuItems.add(item);
205 menu.add(item);
206 menuBar.add(men
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/constExpr/
H A DExpression.java155 return b.add (twoPow16);
160 return b.add (twoPow32);
165 return b.add (twoPow64);
205 return b.add (twoPow16);
207 return b.add (twoPow32);
209 return b.add (twoPow64);
230 public static final BigInteger usMax = sMax.multiply (two).add (one);
236 public static final BigInteger ulMax = lMax.multiply (two).add (one);
242 public static final BigInteger ullMax = llMax.multiply (two).add (one);
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DMappings.java69 void add(Zoneinfo zi) { method in class:Mappings
87 excludeList.add(zone.getName());
102 rawOffsetsIndex.add(i, rawOffset);
106 perRawOffset.add(zonename);
108 rawOffsetsIndexTable.add(i, perRawOffset);
112 perRawOffset.add(zonename);
118 // excluded zones, add those names to the excluded list.
123 excludeList.add(zoneName);
149 perRO.add(key);
158 toBeRemoved.add(ke
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DAboutDialog.java72 mainPanel.add(mastheadLabel, NORTH);
103 infoAndLogoPanel.add(helpLink, NORTH);
114 mainPanel.add(infoAndLogoPanel, CENTER);
115 cp.add(bottomPanel, SOUTH);
117 infoAndLogoPanel.add(brandLogo, SOUTH);
120 buttonPanel.add(closeButton);
121 bottomPanel.add(buttonPanel, NORTH);
124 bottomPanel.add(statusBar, SOUTH);
126 cp.add(mainPanel, NORTH);
/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DFieldUpdater.java135 asm.add(where, opc_dup);
138 asm.add(where, opc_dup_x1);
141 asm.add(where, opc_dup_x2);
149 asm.add(where, opc_dup2);
152 asm.add(where, opc_dup2_x1);
155 asm.add(where, opc_dup2_x2);
188 asm.add(where, opc_invokestatic, getter);
207 asm.add(where, opc_invokestatic, setter);
239 asm.add(where, opc_invokestatic, setter);
/openjdk7/jdk/src/share/classes/sun/applet/
H A DAppletProps.java51 p.add(new Label(amh.getMessage("label.http.server", "Http proxy server:")));
52 p.add(proxyHost = new TextField());
54 p.add(new Label(amh.getMessage("label.http.proxy")));
55 p.add(proxyPort = new TextField());
57 p.add(new Label(amh.getMessage("label.class")));
58 p.add(accessMode = new Choice());
62 add("Center", p);
64 p.add(new Button(amh.getMessage("button.apply")));
65 p.add(new Button(amh.getMessage("button.reset")));
66 p.add(ne
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DLaunchTool.java97 panel.add(new JLabel(arg.label(), SwingConstants.RIGHT));
98 panel.add(textField); // , BorderLayout.CENTER);
99 comp.add(panel);
115 panel.add(check);
116 comp.add(panel);
146 radioPanel.add(radio);
147 radioGroup.add(radio);
149 content.add(radioPanel);
167 content.add(BorderLayout.SOUTH, buttonPanel);
191 // guts.add(ne
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/
H A DInputBlock.java93 nodes.add(node);
114 successorNames.add(name);
128 successors.add(b);
129 b.predecessors.add(this);
131 outputs.add(e);
132 b.inputs.add(e);

Completed in 475 milliseconds

1234567891011>>