简体   繁体   中英

3 dots java title border

does anyone know how to remove those 3 dots from java components? my problem : a java widget with a title border which, after resize, keeps adding those 3 dots.

I would want for it to display the truncated title which fits that given area. I managed to set its justification to the left but those 3 dots keep reappereaing...

or, at least, where, in java library, are those 3 points drawn? I searched through java libraries and couldn't fin it.

This happens using java 1.7

It is not Java or Swing who display the three dots (the "ellipsis"), it is the underlying OS (Windows, Linux ...).

The Java just sets the native window title property.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM