How to put a JButton at a specific location?

后端 未结 3 714
被撕碎了的回忆
被撕碎了的回忆 2021-01-27 06:12

I know that there are already very similar questions to my question on stackoverflow, but neither one of them answers my question. I want to put my JButton on a specific locatio

3条回答
  •  旧巷少年郎
    2021-01-27 06:24

    Your best bet is to use a Java Drag-and-Drop GUI builder like NetBeans. Particularly if you're interested in very specific positioning, nothing really beats a GUI builder.

提交回复
热议问题