由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - questions on repaint()
相关主题
paint()呀,repaint()呀Re: Question: OutOfMemoryError when draw
Re: JPanel help!一个基本问题。
怎么控制paint? 请问一个用Java设计简单动画(2D)的问题
Java Swing -- autohide panel widgets?有没有办法批处理一个TreeModel的改变?
how to update swing components帮看看这个swing的小程序?
Re: Swing问题用第三方的package,出bug一般大家怎么解决?
农民运动讲习所1. Thread and paint()Java Paint()可以被中断吗?
question about repaint, update and paint输入中文导致的死 机
相关话题的讨论汇总
话题: repaint话题: panel话题: internal话题: when话题: questions
进入Java版参与讨论
1 (共1页)
a***e
发帖数: 188
1
I add two internal frame to a panel. When mouse is released, i need
to repaint
the panel in internal frame. My problem is that the program repaint
the outside
panel in the internal panel instead of just repainting the specified
panel. When
I minimize, maximumize or porform some other functions to the internal
frame,
the correct appearance just comes out. I reay don't know why.
Please give me some advice.
Thanks a lot.
a***e
发帖数: 188
2
I sovled this problem. When using JPanel, be sure to use
paintComponent()
instead of paint(g).Hope other guys don't meet this problem.
I still didn't solve the problem of scrolling panel. I even add the
scrollbar
manually to the scrollpane, it still doesn't work. I really don't know
why. Did
any one have ever do this using Swing?
Thanks a lot.
懢 在 angie (MIMI) 的大作中提到: 懣
need
internal
o**n
发帖数: 31
3
post some testing code here, we can repeat it.

【在 a***e 的大作中提到】
: I sovled this problem. When using JPanel, be sure to use
: paintComponent()
: instead of paint(g).Hope other guys don't meet this problem.
: I still didn't solve the problem of scrolling panel. I even add the
: scrollbar
: manually to the scrollpane, it still doesn't work. I really don't know
: why. Did
: any one have ever do this using Swing?
: Thanks a lot.
: 懢 在 angie (MIMI) 的大作中提到: 懣

1 (共1页)
进入Java版参与讨论
相关主题
输入中文导致的死 机how to update swing components
如何让Swing对象即使更新?Re: Swing问题
java graphics2d 画图请教农民运动讲习所1. Thread and paint()
这个Swing的Exception是怎么产生的?question about repaint, update and paint
paint()呀,repaint()呀Re: Question: OutOfMemoryError when draw
Re: JPanel help!一个基本问题。
怎么控制paint? 请问一个用Java设计简单动画(2D)的问题
Java Swing -- autohide panel widgets?有没有办法批处理一个TreeModel的改变?
相关话题的讨论汇总
话题: repaint话题: panel话题: internal话题: when话题: questions