Frameworks?
So ive been doing java programming for a while now and i keep seeing frameworks mentioned, from my understanding a framework is like the opposite of a program we write, in the way such as the framework takes control and utilizes our program components. So my question is really a hypothesis that i need a confirmation on Start hypothesis. So when i think framework this is what i think, so we have some code for a GUI now this code is the framework and this code handles evetything such as event handlers and navigation between pages and say interconnectivity between other users, this framework was created by someone for interchangeability of parts so as the end user i would design the pages and buttons and plug them into this framework? Please inform me if my observation is correct, otherwise please explain where my theory is incorrect. Thank you.