저는 잠시 동안 JPanels를 사용하고 있으며 이제 다른 JPanel 위에 JPanel을 배치하려고합니다.다른 JPanel 상단의 JPanel
나는 JLayer를 사용하여 보았지만 궁금해했습니다. 아래쪽과 위쪽의 레이어를 설정하는 솔루션이 있다면 가능한 경우 각 구성 요소 레이어를 설정하고 싶지 않습니다.
예
JPanel bottomPanel = new JPanel(); # Set as bottom panel
JPanel topPanel = new JPanel(); # Set as top panel
JPanel sidePanel = new JPanel(); # Don't have to set
JPanel anotherSidePanel = new JPanel(); # Don't have to set
는이에 대한 최선의 해결책이 무엇인지 할 수없는 경우, 감사합니다.
하는 ASCII 아트 또는 간단한 도면을 제공 * 구성 * 최소 크기의 GUI의 레이아웃, 그리고 더 폭, 경우 크기 조정 및 신장. –