Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
JButton title is truncating for some strings irrespective of preferred size.I have set different titles to JButton and expected the title should appear in the Button. But for some strings the title is truncating with three dots. I have set a "Probably" string to JButton as title and I would expected the button should show given string as title.But it shows "Proba..." by truncating with dots. It works fine with 6ur builds.I could see this issue only with JDK7 JDK Version =========== java version "1.7.0-ea" Java(TM) SE Runtime Environment (build 1.7.0-ea-b43) Java HotSpot(TM) Client VM (build 14.0-b10, mixed mode) Please run the attached code for reproducing the issue. Also seen content in the OptionPane Dialogs getting truncated similarly in jdk7 b46
|