开发者

Java-Swing and Windows text size : fix the size of components

开发者 https://www.devze.com 2023-04-04 09:55 出处:网络
When my-application users increase \'windows texte size\' to 150% (picture), all components(text, buttons..) grow and application exceeds screen size.

When my-application users increase 'windows texte size' to 150% (picture), all components(text, buttons..) grow and application exceeds screen size.

Do you have a suggestion to make GUI fixed(or a开发者_C百科ll component svisible) with every windows text size (100%, 125%, 150%)?

Thanks. PS:I use JGoodies


use proper layout manager and dont setPreferredSize()/setSize() etc to component like button, panel window/dialog and use pack() window/dialog.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号