Comp Sci Creating Animations with Java: Tips for Novice Programmers

  • Thread starter Thread starter scumbum22
  • Start date Start date
  • Tags Tags
    Animation Java
Click For Summary
To create animations in Java, using java.awt and javax.swing for drawing on a JPanel is a common approach, but it can be challenging for novices. JavaFX is recommended as a more modern alternative that simplifies animation creation and offers better graphical capabilities. Since the programmer does not have web access, focusing on JavaFX for desktop applications is advisable. Resources and documentation for JavaFX animations are available online to assist with implementation. Exploring JavaFX can lead to more successful and visually appealing animations.
scumbum22
Messages
6
Reaction score
0
I am a novice programmer and I need to create an Animation using Java. Basically, this animation needs to consist of moving ellipses on a graph. Does anyone have suggestions as to the easiest way to go about doing this? I've been looking into using java.awt and javax.swing to draw the graphics in a JPanel and hopefully move them. It doesn't seem to be working out well.

I've read about Applets and I understand that they are used along with a web browser. On the system I'm working on I have no access to the web.

Please, any suggestions would be very helpful!
 
Physics news on Phys.org

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 0 ·
Replies
0
Views
593
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K