简体   繁体   中英

JFrame on bluejay too small (MAC)

So I had a project for my computer science class and since its only the beginning of the year, I can only write basic code with bluejay. My code made my picture appear perfectly when using the school's windows computer, but when trying to edit it at home on my mac, the y maximum seemed to be cut down to about 550 (at school i got it to be around 1100), and I can't see part of the picture anymore! Also, when running it, there's no scroll bar. Any help will be greatly appreciated!

Your problem might be a difference in resolution between your school computer and your home computer. If you didn't set up JFrame to scale then it will be set to the size you set it to. The aspect ratio could also be off. Try changing the size of the JFrame at home.

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