简体   繁体   中英

Full screen issue with java.awt.Window

I have developed a J2ME app using java.awt.Window as I want a full screen without any status and title bars on top.

The problem I am facing is: the first screen is displayed in full screen but from then on all the screens displayed have a white strip appearing at the bottom of the screen.
I have used setBounds(0,0,320,240) (my device dimensions) but the problem still remains.

Since no one has answered this.I would like to tell how I fixed this.When designing the frame in netbeans, I specified the coordinates of setbounds(0,0,345,240); I know it is kind of a patch and not a solution, but that worked.. and it looks good on the device :)

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