由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Re: Swing问题
相关主题
农民运动讲习所1. Thread and paint()how to update swing components
遇到Swing的一个问题Re: Client-Server and actionPerformed
eclipse 做gui问题Re: print problem, GUI guru please come in
强制Swing绘制Panel的一个问题关于actionPerformed()的问题
Java Swing -- autohide panel widgets?add a mouse-click function on an applet
如何让Swing对象即使更新?请教一个有关 inner class 的问题
这个Swing的Exception是怎么产生的?Java如何实现自动消失的消息框?
questions on repaint()Re: How to make a JButton stay pressed?
相关话题的讨论汇总
话题: swing话题: try话题: operations话题: put话题: program
进入Java版参与讨论
1 (共1页)
m*****e
发帖数: 126
1
Did you try to put some repaint() in your actionPerformed method
after each update? Maybe not useful, just guess.
Another problem I concerned is the logic and style of your program.
I think it is not a good idea to put so many operations in the
event handler. Try to avoid doing time-consuming operations (such as
openning a file) if possible.
I am not quite understand what you want to do. But I will never use
a 2D JButton array in my program. The performence is very bad.
I remembered when I begin
1 (共1页)
进入Java版参与讨论
相关主题
Re: How to make a JButton stay pressed?Java Swing -- autohide panel widgets?
Re: How to make a JButton stay pressed? (solution?)如何让Swing对象即使更新?
大虾请指点这个Swing的Exception是怎么产生的?
How to draw an arrow?questions on repaint()
农民运动讲习所1. Thread and paint()how to update swing components
遇到Swing的一个问题Re: Client-Server and actionPerformed
eclipse 做gui问题Re: print problem, GUI guru please come in
强制Swing绘制Panel的一个问题关于actionPerformed()的问题
相关话题的讨论汇总
话题: swing话题: try话题: operations话题: put话题: program