Changing on-screen component for JFrame is clunky and messy
问题 I haven't been able to find a solution to this problem so far through research and may in fact be a problem with JFrame as a whole. Like any desktop application, most times the clicking of a button or "object" presents an action of changing what is currently being displayed. So for example, if I currently have an "input form" on the display frame and then the user clicks a button labeled " submit ," the screen changes to a congratulations screen saying " your form has correctly been submitted