Searched refs:label (Results 101 - 125 of 457) sorted by relevance

1234567891011>>

/openjdk10/jdk/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaLabelUI.java91 protected Color getDisabledLabelColor(final JLabel label) { argument
92 final Color fg = label.getForeground();
94 final Object colorProperty = label.getClientProperty(DISABLED_COLOR_KEY);
101 label.putClientProperty(DISABLED_COLOR_KEY, newDisabledColor);
H A DAquaTextFieldSearch.java216 final JLabel label = new JLabel();
217 label.setForeground(UIManager.getColor("TextField.inactiveForeground"));
220 public void changedUpdate(final DocumentEvent e) { updatePromptLabel(label, c); }
221 public void insertUpdate(final DocumentEvent e) { updatePromptLabel(label, c); }
222 public void removeUpdate(final DocumentEvent e) { updatePromptLabel(label, c); }
225 public void focusGained(final FocusEvent e) { updatePromptLabel(label, c); }
226 public void focusLost(final FocusEvent e) { updatePromptLabel(label, c); }
228 updatePromptLabel(label, c);
230 return label;
233 static void updatePromptLabel(final JLabel label, fina argument
243 updatePromptLabelOnEDT(final JLabel label, final JTextComponent text) argument
[all...]
/openjdk10/jdk/test/javax/swing/JComboBox/7195179/
H A DTest7195179.java51 JLabel label = new JLabel("choose:");
55 label.setLabelFor(combo);
68 .addGroup(layout.createParallelGroup().addComponent(label))
74 .addComponent(label)
/openjdk10/jdk/test/javax/swing/plaf/basic/BasicHTML/4960629/
H A Dbug4960629.java47 private JLabel label = null; field in class:bug4960629
53 label = new JLabel("<html><P>This is a test of the</P></html>");
57 f.getContentPane().add(label);
81 View root = ((View)label.getClientProperty(BasicHTML.propertyKey))
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.printer/src/org/graalvm/compiler/printer/
H A DBasicIdealGraphPrinter.java48 final String label; field in class:BasicIdealGraphPrinter.Edge
50 public Edge(String from, int fromIndex, String to, int toIndex, String label) { argument
56 this.label = label;
64 if (label != null) {
65 h ^= label.hashCode();
78 (label == other.label || (label != null && label
[all...]
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/spi/orbutil/fsm/
H A DFSMTest.java62 System.out.println( "\tlabel = " + label ) ;
65 if (label != in)
71 public TestAction1( State oldState, Input label, State newState ) argument
75 this.label = label ;
79 private Input label ; field in class:TestAction1
107 private Input label ; field in class:TestAction3
112 System.out.println( "\tlabel = " + label ) ;
114 if (label != in)
118 public TestAction3( State oldState, Input label )
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/colorchooser/
H A DColorChooserPanel.java49 private final JLabel label; field in class:ColorChooserPanel
57 this.label = new JLabel(null, null, SwingConstants.RIGHT);
109 add(this.label, gbc);
128 this.label.setLabelFor(this.text);
135 String label = this.model.getText(this, "HexCode"); // NON-NLS: suffix
136 boolean visible = label != null;
138 this.text.getAccessibleContext().setAccessibleDescription(label);
139 this.label.setVisible(visible);
141 this.label.setText(label);
[all...]
/openjdk10/jdk/test/sun/nio/cs/
H A DTestISO2022CNDecoder.java51 String label)
70 System.err.print(label + ": read failed, char " + i);
86 System.err.println(label + ": read failed, no EOF");
95 System.err.println(label + ": read failed, char " + i);
107 System.err.println(label + ": directBuffer failed, ");
111 System.err.println(label + ": decoder's decode() failed!");
117 System.err.println(label + ": decoder failed, char " + i);
121 System.err.println(label + ": failed "
142 String label) {
148 System.err.println(label
48 decodeTest( byte encoded[], char decoded[], String label) argument
140 decodeResultTest(byte encoded[], CoderResult expected, String label) argument
172 negative(byte encoded [], String label) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/
H A DInstructionAdapter.java593 public void visitJumpInsn(final int opcode, final Label label) { argument
596 ifeq(label);
599 ifne(label);
602 iflt(label);
605 ifge(label);
608 ifgt(label);
611 ifle(label);
614 ificmpeq(label);
617 ificmpne(label);
620 ificmplt(label);
655 visitLabel(final Label label) argument
941 ifeq(final Label label) argument
945 ifne(final Label label) argument
949 iflt(final Label label) argument
953 ifge(final Label label) argument
957 ifgt(final Label label) argument
961 ifle(final Label label) argument
965 ificmpeq(final Label label) argument
969 ificmpne(final Label label) argument
973 ificmplt(final Label label) argument
977 ificmpge(final Label label) argument
981 ificmpgt(final Label label) argument
985 ificmple(final Label label) argument
989 ifacmpeq(final Label label) argument
993 ifacmpne(final Label label) argument
997 goTo(final Label label) argument
1001 jsr(final Label label) argument
1188 ifnull(final Label label) argument
1192 ifnonnull(final Label label) argument
1196 mark(final Label label) argument
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/alloc/lsra/ssa/
H A DSSALinearScanLifetimeAnalysisPhase.java53 LabelOp label = (LabelOp) op;
57 SSAUtil.forEachPhiRegisterHint(allocator.getLIR(), allocator.blockForId(label.id()), label, targetValue, mode, (ValueConsumer) (registerHint, valueMode, valueFlags) -> {
85 LabelOp label = (LabelOp) op;
86 if (label.isPhiIn()) {
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core/src/org/graalvm/compiler/core/gen/
H A DInstructionPrinter.java70 final String label; field in class:InstructionPrinter.InstructionLineColumn
72 InstructionLineColumn(int position, String label) { argument
74 this.label = label;
78 * Prints this column's label to a given stream after padding the stream with '_' characters
85 out.print(label);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalDesktopIconUI.java47 JLabel label; field in class:MetalDesktopIconUI
92 label = new JLabel(drag);
94 label.setBorder( new MatteBorder( 0, 2, 0, 1, desktopIcon.getBackground()) );
97 desktopIcon.add(label, BorderLayout.WEST);
102 desktopIcon.remove(label);
/openjdk10/jdk/test/java/awt/Focus/SimpleWindowActivationTest/
H A DSimpleWindowActivationTest.java46 private static Label label; field in class:SimpleWindowActivationTest
80 clickOn(getClickPoint(label));
100 clickOn(getClickPoint(label));
114 label = new Label("label");
119 window.add(label);
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/
H A DJCheckBoxMenuItemOperator.java170 String label; field in class:JCheckBoxMenuItemOperator.JCheckBoxMenuItemByLabelFinder
180 label = lb;
198 label));
206 return "JCheckBoxMenuItem with text \"" + label + "\"";
211 return "JCheckBoxMenuItemByLabelFinder{" + "label=" + label + ", comparator=" + comparator + '}';
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.asm/src/org/graalvm/compiler/asm/
H A DAssembler.java156 assert !l.isBound() : "can bind label only once";
170 * Creates a name for a label.
172 * @param l the label for which a name is being created
173 * @param id a label identifier that is unique with the scope of this assembler
174 * @return a label name in the form of "L123"
181 * Gets a name for a label, creating it if it does not yet exist. By default, the returned name
229 public LabelHint requestLabelHint(Label label) { argument
233 LabelHint hint = new LabelHint(label, position());
243 private Label label; field in class:Assembler.LabelHint
247 protected LabelHint(Label label, in argument
[all...]
/openjdk10/jdk/test/java/awt/Mouse/EnterExitEvents/
H A DDragWindowOutOfFrameTest.java55 private static JLabel label; field in class:DragWindowOutOfFrameTest
77 return getCenterPoint(label);
95 label.addMouseListener(new LabelMouseListener());
106 "Wrong number Mouse Entered/Exited events on label!");
114 "Wrong number Mouse Entered/Exited events on label!");
134 throw new RuntimeException("No MouseReleased event on label!");
151 label = new JLabel("Label");
154 label.addMouseListener(listener);
155 label.addMouseMotionListener(listener);
160 panel.add(label, BorderLayou
[all...]
H A DDragWindowTest.java52 private static JLabel label; field in class:DragWindowTest
74 return getCenterPoint(label);
107 throw new RuntimeException("No MouseReleased event on label!");
124 label = new JLabel("Label");
127 label.addMouseListener(listener);
128 label.addMouseMotionListener(listener);
133 panel.add(label, BorderLayout.NORTH);
/openjdk10/jdk/test/javax/swing/SwingUtilities/7088744/
H A Dbug7088744.java46 private static volatile JLabel label; field in class:bug7088744
130 label = new JLabel("A label");
132 label.addMouseListener(new MouseAdapter() {
145 frame.add(label);
158 Point pt = label.getLocationOnScreen();
159 point.x = pt.x + label.getWidth() / 2;
160 point.y = pt.y + label.getHeight() / 2;
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/
H A DAllClassesFrameWriter.java115 String label = configuration.getText("doclet.All_Classes");
116 Content body = getBody(false, getWindowTitle(label));
161 Content label = interfaceName(typeElement, false);
165 LinkInfoImpl.Kind.ALL_CLASSES_FRAME, typeElement).label(label).target("classFrame"));
167 linkContent = getLink(new LinkInfoImpl(configuration, LinkInfoImpl.Kind.DEFAULT, typeElement).label(label));
/openjdk10/jdk/test/com/sun/jdi/sde/
H A DTemperatureTableTest.java45 void checkLocation(Location loc, String label, argument
51 println(label + " sourceName: " + sourceName);
53 failure("FAIL: " + label +
60 println(label + " sourcePath: " + sourcePath);
62 failure("FAIL: " + label +
69 println(label + " line number: " + ln);
71 failure("FAIL: " + label +
77 void checkLocation(String stratum, Location loc, String label, argument
83 println(label + "(" + stratum + ")" +
86 failure("FAIL: " + label
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/net/
H A DIDN.java95 * <p> A label is an individual part of a domain name. The original ToASCII operation,
96 * as defined in RFC 3490, only operates on a single label. This method can handle
97 * both label and entire domain name, by assuming that labels in a domain name are
101 * used as label separators, this method also changes all of them to &#0092;u002E (full stop)
161 * <p> A label is an individual part of a domain name. The original ToUnicode operation,
162 * as defined in RFC 3490, only operates on a single label. This method can handle
163 * both label and entire domain name, by assuming that labels in a domain name are
258 // toASCII operation; should only apply to a single label
260 private static String toASCIIInternal(String label, int flag) argument
264 boolean isASCII = isAllASCII(label);
349 toUnicodeInternal(String label, int flag) argument
[all...]
/openjdk10/langtools/test/tools/javac/lib/
H A DDPrinter.java202 public void printAnnotations(String label, SymbolMetadata annotations) { argument
203 printAnnotations(label, annotations, Details.FULL);
206 protected void printAnnotations(String label, SymbolMetadata annotations, Details details) { argument
208 printNull(label);
226 printString(label, hashString(annotations));
246 public void printAttribute(String label, Attribute attr) { argument
248 printNull(label);
250 printString(label, attr.getClass().getSimpleName());
258 public void printDocTree(String label, DocTree tree) { argument
260 printNull(label);
272 printFileObject(String label, FileObject fo) argument
285 printInt(String label, int i) argument
289 printLimitedEscapedString(String label, String text) argument
300 printList(String label, List<?> list) argument
315 printName(String label, Name name) argument
323 printNull(String label) argument
328 printObject(String label, Object item, Details details) argument
352 printScope(String label, Scope scope) argument
356 printScope(String label, Scope scope, Details details) argument
454 printSource(String label, JCTree tree) argument
458 printString(String label, String text) argument
466 printSymbol(String label, Symbol symbol) argument
470 printSymbol(String label, Symbol sym, Details details) argument
512 printTree(String label, JCTree tree) argument
546 printType(String label, Type type) argument
550 printType(String label, Type type, Details details) argument
1591 handle(String label, JCCompilationUnit unit, JCTree tree, DPrinter dprinter) argument
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.aarch64/src/org/graalvm/compiler/lir/aarch64/
H A DAArch64Call.java127 protected final Label label; field in class:AArch64Call.ForeignCallOp
129 protected ForeignCallOp(LIRInstructionClass<? extends ForeignCallOp> c, ForeignCallLinkage callTarget, Value result, Value[] parameters, Value[] temps, LIRFrameState state, Label label) { argument
132 this.label = label;
152 public DirectNearForeignCallOp(ForeignCallLinkage callTarget, Value result, Value[] parameters, Value[] temps, LIRFrameState state, Label label) { argument
153 super(TYPE, callTarget, result, parameters, temps, state, label);
158 directCall(crb, masm, callTarget, null, state, label);
166 public DirectFarForeignCallOp(ForeignCallLinkage callTarget, Value result, Value[] parameters, Value[] temps, LIRFrameState state, Label label) { argument
167 super(TYPE, callTarget, result, parameters, temps, state, label);
174 directCall(crb, masm, callTarget, r8, state, label);
198 directCall(CompilationResultBuilder crb, AArch64MacroAssembler masm, InvokeTarget callTarget, Register scratch, LIRFrameState info, Label label) argument
[all...]
/openjdk10/langtools/test/tools/javac/doctree/
H A DReferenceTest.java157 List<? extends DocTree> label = refLabel.subList(1, refLabel.size());
158 checkReference(ref, label);
163 void checkReference(ReferenceTree tree, List<? extends DocTree> label) { argument
174 if (label.size() > 0 && label.get(0) instanceof TextTree)
175 expect = ((TextTree) label.get(0)).getBody();
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/
H A DCMenu.java91 public final void setLabel(final String label) { argument
92 execute(ptr->nativeSetMenuTitle(ptr, label));
93 super.setLabel(label);

Completed in 278 milliseconds

1234567891011>>