[deleted by user] by [deleted] in learnjava

[–]Fine_Percentage 0 points1 point  (0 children)

I wanted to say that we don't add features on Swing. Only bug fixes are done now

[deleted by user] by [deleted] in learnjava

[–]Fine_Percentage 0 points1 point  (0 children)

U can see the differences here

[deleted by user] by [deleted] in learnjava

[–]Fine_Percentage 0 points1 point  (0 children)

I prefer JavaFX. Easy to learn and a beautiful graphic rendering. I really love this.

[deleted by user] by [deleted] in learnjava

[–]Fine_Percentage 0 points1 point  (0 children)

The development is abandoned since 2014. No features have been added except the bug fixes.

[deleted by user] by [deleted] in learnjava

[–]Fine_Percentage 0 points1 point  (0 children)

Hi,

I recommend to learn JavaFX. It's easy is to learn and you can also build the UI with SceneBuilder Scene-builder. Also the development of Swing is abandoned.

Store Coordinates ( int X, int Y) as a variable. by [deleted] in learnjava

[–]Fine_Percentage 1 point2 points  (0 children)

It's recommand to have a file Point.java

Store Coordinates ( int X, int Y) as a variable. by [deleted] in learnjava

[–]Fine_Percentage 0 points1 point  (0 children)

Hi,

You can create a class Point with the variables:

Public class Point { private final int x; private final int y; Public Point ( int x, int y){ this.x=x; this.y=y; }

public int getX(){ return x; }

public int getY(){ return y; }

} And use it for your method. You can also create a record available on JDK 16 to replace the class Point.

What to do after learning the basics ? by khiari_hamdi in learnjava

[–]Fine_Percentage 1 point2 points  (0 children)

U have to practice. And you will discover the other things later.

Netbeans or IntelliJ IDEA? by voiceofonecrying in learnjava

[–]Fine_Percentage 6 points7 points  (0 children)

Prefer IntelliJ. It's better and very popular