I am using BorderLayout to create a two column layout with a header and a footer. I am setting a background color for the 'center' region. The background color shows up only till the central region is not scrolled. When it is scrolled, the background color for the part of the region that comes into view as a result of scrolling gets set to white (which is default if I don't set any background color). My code looks like this-
Who are you referring to as 'the user'? You as a developer have to understand what's going on under the covers and how it impacts your application. There's a ton of auto-generated HTML and use of CSS. The only way to know why you're background isn't appearing the way you want is to inspect the HTML and see what element is getting the style applied vs what element is scrolling, etc.