Is there a “Group Box” equivalent in Java Swing?

前端 未结 7 1528
野的像风
野的像风 2021-01-30 19:50

Trying to build a GUI application in Java/Swing. I\'m mainly used to \"painting\" GUIs on the Windows side with tools like VB (or to be more precise, Gupta SQLWindows... wonder

7条回答
  •  攒了一身酷
    2021-01-30 20:23

    I'm responding based on the Uri's comment which explaind what the OP meant by Group Box:

    Uri: I think he means the control group you see in many dialog boxes, where you have a square around a bunch of widgets such as radio buttons, for example.

    As far as I know, every JComponent can set a border for itself, so you don't need a second panel.

提交回复
热议问题