Why is it frowned upon to use a null layout in Swing?

前端 未结 4 1924
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-21 04:44

Recently, I started creating a program for the company I work for. Just as background info, I\'m still a student and a beginner programmer, so my solution is probably not re

4条回答
  •  天命终不由人
    2020-11-21 05:22

    You are practically using a layout - your own, with all your sophisticated calculations of positions.

    You can move these logic to a custom layout manager class to pacify the critics.

提交回复
热议问题