java.awt.Window 的全屏问题
我使用 java.awt.Window
开发了一个 J2ME 应用程序,因为我想要一个全屏,顶部没有任何状态栏和标题栏。
我面临的问题是:第一个屏幕以全屏显示,但从那时起,所有显示的屏幕都会在屏幕底部出现白色条带。
我已经使用了 setBounds(0,0,320,240)
(我的设备尺寸),但问题仍然存在。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于没有人回答这个问题。我想告诉一下我是如何解决这个问题的。在netbeans中设计框架时,我指定了
setbounds(0,0,345,240);
我知道这是一种补丁而不是解决方案,但它有效..并且在设备上看起来不错:)
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 :)