Searched refs:TEXT_SPACING (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DTitledBorder.java123 static protected final int TEXT_SPACING = 2; field in class:TitledBorder
323 path.append(new Rectangle(borderX, labelY, labelX - borderX - TEXT_SPACING, labelH), false);
324 path.append(new Rectangle(labelX + labelW + TEXT_SPACING, labelY, borderX - labelX + borderW - labelW - TEXT_SPACING, labelH), false);
383 insets.top += edge + TEXT_SPACING;
384 insets.left += edge + TEXT_SPACING;
385 insets.right += edge + TEXT_SPACING;
386 insets.bottom += edge + TEXT_SPACING;
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DBorderedComponent.java359 diff = Math.max(0, ascent/2 + TEXT_SPACING - EDGE_SPACING);
457 insets.left += EDGE_SPACING + TEXT_SPACING;
458 insets.right += EDGE_SPACING + TEXT_SPACING;
459 insets.top += EDGE_SPACING + TEXT_SPACING;
460 insets.bottom += EDGE_SPACING + TEXT_SPACING;
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifBorders.java629 static protected final int TEXT_SPACING = 2; field in class:MotifBorders.MotifPopupMenuBorder
685 textLoc.y = y + ascent + TEXT_SPACING;
689 g.fillRect(textLoc.x - TEXT_SPACING, textLoc.y - (fontHeight-descent),
690 stringWidth + (2 * TEXT_SPACING), fontHeight - descent);
694 MotifGraphicsUtils.drawGroove(g, x, textLoc.y + TEXT_SPACING,
728 insets.top += ascent + descent + TEXT_SPACING + GROOVE_HEIGHT;

Completed in 52 milliseconds