Closed iamlamb1988 closed 2 years ago
Upon Construction: The singleton DesktopApp (extends JFrame) is set to a hardcoded value. All IMenu (extends JPanel) are set to the same size.
The JFrame Size and the inner window are NOT the same and is actually smaller.
Need the JFrame to be EXACTLY big enough to cover the entire IMenu instance.
Temporary fix: Passing in the desktop app -16 and -39 pixels for width and height respectfully. width_px-16,height_px-39
Seems to permanently fit the JPanels perfectly. Would prefer a more robust solution.
Upon Construction: The singleton DesktopApp (extends JFrame) is set to a hardcoded value. All IMenu (extends JPanel) are set to the same size.
The JFrame Size and the inner window are NOT the same and is actually smaller.
Need the JFrame to be EXACTLY big enough to cover the entire IMenu instance.