473,387 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

problem while animation

36
hello freinds ! I m developing a game but I have a problem that when I click new game button(add by me) animation start but keylistener is not working ie when I
press a key nothing happen
also on clicking top right corner CLOSE button program does not terminate no effect on animation I inherit JPanel...
Mar 9 '08 #1
2 1221
sukatoa
539 512MB
hello freinds ! I m developing a game but I have a problem that when I click new game button(add by me) animation start but keylistener is not working ie when I
press a key nothing happen
also on clicking top right corner CLOSE button program does not terminate no effect on animation I inherit JPanel...
You can read this.

I've used Runnable overriding the run() method to interrupt the ProgressBar while it is still in progress...

I hope it helps,
Sukatoa...
Mar 9 '08 #2
BigDaddyLH
1,216 Expert 1GB
It's hard to guess what you may or may not have done from that description. If you want good help from this forum, post a SSCCE: http://mindprod.com/jgloss/sscce.html
Mar 10 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Simena Dinas | last post by:
KToon: 2D Animation Toolkit KToon is a 2D Animation Toolkit designed by animators (Toonka Films) for animators, focused to the Cartoon's industry. This project is covered by the GPL License...
11
by: Jonny | last post by:
Netscape 7.02 is giving me a headache with a downloaded snow script. Starting with a blank page, I inserted the script and checked it in IE 6 and Netscape 7.02. Everything worked and looked fine. A...
2
by: Raed Sawalha | last post by:
Dear: I need to make some progress action when doing long running task to inform user that something is happening, so I did the following: 1. download a gif file that do some download...
3
by: James | last post by:
Hello, I'm new to c# and have created an animation which draws directly to the window, it uses the code below which all works. I would like to know if this is the 'correct' way to do it - or...
3
by: Bernard Lebel | last post by:
Hello, I have this problem when subclassing classes where I get this error: Traceback (most recent call last): File "<Script Block >", line 344, in BBExportElementGranules_Execute from...
2
by: rdemyan via AccessMonster.com | last post by:
My application has a lot of complicated SQL statements, calculations, processing that takes time. I've created a custom form to act like a messagebox. It has 10 small rectangles on it that change...
8
by: _DD | last post by:
It seems that there is some odd interaction with LinearGradientBrush that depends on positioning. A simple test: --------- Rectangle Square = new Rectangle(.....); in Paint: ...
1
by: torsak | last post by:
Hello everyone, I'd like to display an animation in a frame. Each frame is calculated in real time, so it does not consist in display a GIF animation. I am using a wx.StaticBitmap, and I replace...
4
by: Sin Jeong-hun | last post by:
Most applications, including Windows Explorer, show some sort of 'wait' dialog with animation when a lengthy operation is going on. For example, When the Windows Explorer is searching for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.