Java JLabel/JButton: on some systems I get “…” (an ellipsis) and on some systems I don’t. how can I force to disable the ellipsis at all?

There should be no need to set the bounds of the label.

That is the job of a layout manager. Learn to use layout managers and you won’t have this problem.

Edit:

Layout managers use:

label.setSize( label.getPreferredSize() );

Leave a Comment