Java Swing - how to show a panel on top of another panel?

后端 未结 6 1365
野趣味
野趣味 2020-11-30 03:56

I wish to have an internal (non window) dialog to ask for member input. I would like the dialog to be placed centrally on an existing JPanel.

I have looked at layered

6条回答
  •  一整个雨季
    2020-11-30 04:26

    JOptionPane.showInternalInputDialog probably does what you want. If not, it would be helpful to understand what it is missing.

提交回复
热议问题