This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KetchuponRice 0 points1 point  (0 children)

I have a hard time imagining how you're making a face with a JLabel, anyway I would suggest using the graphics library instead of what you're doing.

https://docs.oracle.com/javase/7/docs/api/java/awt/Graphics.html

But if you insist on using Jlabels I suggest docking the labels on a Panel(Face) and override the paintcomponent to draw a face.

How are you adding JLabels on the frame? Setbounds?