需要快速帮助 [英] NEED HELP FAST please

查看:43
本文介绍了需要快速帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个菜单栏,当我第一次运行代码时一切都很好。如果我点击屏幕上我打印圆形或正方形,将形状存储在arraylist中并重新绘制框架。当框架重新绘制时,menuBar会再次在orignal下绘制。

任何想法?

i have a menu bar, when i run the code the first time everything is fine. If i click on the screen i print a Circle or a Square, store the shape in an arraylist and repaint the frame. When the frame repaints the menuBar gets painted again under the orignal.
Any ideas?

展开 | 选择 | 换行 | 行号

推荐答案

啊!所以你正在使用JDeveloper ...我是对的吗?

你使用了什么jdk?

建议你使用jdk 5.0 ....再试一次,并更新我们....


sukatoa
Ahhh!!! so you are using JDeveloper ...am i right?
What jdk did you use?
it is recommended that you use jdk 5.0.... try it again, and update us....

sukatoa


什么是JDK,我该如何更改?
Whats a JDK, and how do i change it?


更新问题:

菜鸟不仅被重新粉刷,而且如果我画一个正方形,然后更换工具并绘制其他东西,第一个正方形和菜单栏直接在第一个。如果我调整窗口大小,它会恢复正常。再次画画并再次翻倍。
Update to problem:
Not only is the menubar being repainted, but if i draw a square, then change tools and draw something else, the first square and the menubar gets doubled directly under the first. If i resize the window it goes back to normal. Paint again and it doubles again.


这篇关于需要快速帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆