def METHOD_NAME(cls, scrollarea):
    """Gets the BorderLayout for the given scrollarea.
    If None exists, creates and returns a new instance.
    """
    for c in scrollarea.children():
        if type(c) is cls:
            return c
    return cls(scrollarea)