Ejemplo n.º 1
0
 /**
  * Adds the given component to the right side of this {@code BottomBar}. If this is not the first
  * component to be added to the right, then the given component will be followed by a space of the
  * given width.
  *
  * @param toolToAdd the tool to add to this {@code BottomBar}.
  * @param spacer_pixels the amount of space to post-pend the added component with *if* the given
  *     component is *not* the first component to be added to the center.
  */
 public void addComponentToRight(JComponent toolToAdd, int spacer_pixels) {
   fBottomBar.addComponentToRight(toolToAdd, spacer_pixels);
 }
Ejemplo n.º 2
0
 /**
  * Adds the given component to the right side of this {@code BottomBar}.
  *
  * @param toolToAdd the tool to add to this {@code BottomBar}.
  */
 public void addComponentToRight(JComponent toolToAdd) {
   fBottomBar.addComponentToRight(toolToAdd);
 }