The window, Frame and Dialog classes use a border layout as their default layout in Java Programming.