This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Java awt/swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Java awt/swing" Watch "Java awt/swing" New topic

Java awt/swing

Pradyumna Sahoo

Joined: Feb 27, 2013
Posts: 22

Can any body help to improve this game . I want the game to be dynamic and multithreaded..

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41180
Define "dynamic". What, exactly, does the code do now, and what, exactly, do you want it to do?

Ping & DNS - my free Android networking tools app
Pradyumna Sahoo

Joined: Feb 27, 2013
Posts: 22
thnks for your reply , it's a simple awt shooting game but it's static one(means the objects are not moving). I want the tanks as well as the targets to move at the same time. i.e mutithreading
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38087
You cannot apply multiple threads to Swing components.
Suggest a Timer.

And please change the subject of this thread.
Pradyumna Sahoo

Joined: Feb 27, 2013
Posts: 22
how do they develop games than!!!
Darryl Burke

Joined: May 03, 2008
Posts: 4523

Recommended reading: Concurrency in Swing.

Oh, and in this day and age you shouldn't be wasting time getting familiar with AWT. Swing superseded AWT more than ten years ago.

And if you want to be really cutting-edge, you should devote your time to learning JavaFX 2. It's still a little young, but maturing fast.

luck, db
There are no new questions, but there may be new answers.
I agree. Here's the link:
subject: Java awt/swing
Similar Threads
Urgent Help Needed!!!!!! Homework due in 1 hour
Paint method is covering other layouts
basic things with awt
tictactoe help