I have a GUI application that includes a JTextField, which is disabled because I don't want the user to type in the field.
I set the text dynamically, but when the text exceeds the length of the JTextField, then only the last part of the text is visible. I prefer to have the user see the start of the text and have the remainder not visible becuase I can use a tooltip to display the entire contents.
Is there a way to have the first part of the text visible?
Thanks.
I set the text dynamically, but when the text exceeds the length of the JTextField, then only the last part of the text is visible. I prefer to have the user see the start of the text and have the remainder not visible becuase I can use a tooltip to display the entire contents.
Is there a way to have the first part of the text visible?
Thanks.