Q123
Q123

Reputation: 319

about Java Swing inner window(?)

I am trying to make something with Java Swing. now I am using JInternalFrame but because it looks separated window, I would like to know if I can create some inner panels(?) like this picture using Java swing. I want to create each one whenever a button is clicked. Thanks.

enter image description here

Upvotes: 0

Views: 409

Answers (1)

trashgod
trashgod

Reputation: 205785

Although JInternalFrame is intended for use in a JDesktopPane, as shown here, you might try them in a JPanel having a narrow-gap GridLayout(1, 0, 2, 2), as shown here.

image

Upvotes: 1

Related Questions