Answer the question
In order to leave comments, you need to log in
How to set JLabel coordinates?
Hello.
Is it possible to set the coordinates on the JLabel object to display the desired text at the desired position on our frame?
Answer the question
In order to leave comments, you need to log in
Swing does not support absolute component positioning unless you implement an alternative component layout that has its own positioning model. In JavaFX, there is an AnchorPane for this, in which components are placed in x, y.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question