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

前端 未结 4 1809
佛祖请我去吃肉
佛祖请我去吃肉 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:26

    hmmm trick should be by mixing LayoutMangers and by usage of numbers of nested JPanels that each could have diferrent Layout or not, really depends of number of JComponents, that allows you to create GUI that looks like as layed by using AbsoluteLayout but with same look/output to the GUI for every screen resolutions and ratio (4:3, 16:9, 16:10)

提交回复
热议问题