public static JPanel horizontalJPanel(final Component westComponent,final Component eastComponent){
  return horizontalJPanel(westComponent,Optional.empty(),eastComponent);
}

public static JPanel horizontalJPanel ( final Component westComponent , final Component eastComponent ) { return horizontalJPanel ( westComponent , Optional . empty ( ) , eastComponent ) ; }
creates a jpanel with borderlayout and adds a west component and an east component
