Searched refs:newComponent (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicOptionPaneUI.java656 Component newComponent;
660 newComponent = (Component)button;
661 container.add(newComponent);
687 newComponent = aButton;
690 (newComponent instanceof JButton)) {
691 createdButtons[counter] = (JButton)newComponent;
693 newComponent.getMinimumSize().width);
696 initialFocusComponent = newComponent;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DGroupLayout.java760 * and replaced with {@code newComponent}
761 * @param newComponent the component to put in
767 public void replace(Component existingComponent, Component newComponent) { argument
768 if (existingComponent == null || newComponent == null) {
782 if (newComponent.getParent() != host) {
783 host.add(newComponent);
785 info.setComponent(newComponent);
786 componentInfos.put(newComponent, info);

Completed in 34 milliseconds