简体   繁体   中英

Java FX Swing node reduces the overall size of the swing components visually

I have a swing frame which looks like this actually

图片

But when i wrap that in a javafx swing node the overall size of the component reduces noticeably giving me this:

图片

I can see the font size, table size everything looks zoomed out.

I want the same look and feel in the latter also. Please help.

Thanks, Hari

After so much of toiling around i saw theres no solution to this so i just increased the font sizes of the whole swing application using UIManager api's.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM