They say that one image is worth 1000 words:
I will just notice that the size is set to the default value. (creation in NetBeans) any idea how I can fix this?
Adam.
The reason is the LNF, which was assigned to the frame, as soon as I changed this, everything works fine.
Without code display, I would say that your JTextField width will not be wide enough. You can resize to be large enough for the number of characters you expect.
, , .
Document, JTextField, , http://www.rgagnon.com/javadetails/java-0198.html
Document
, , , .
, 1000 :
. SSCCE 1000 .
, . ( , , ), , 3- :
JTextField width = new JTextField(3);
Source: https://habr.com/ru/post/1770582/More articles:Difference between AddLoadEvent and jQuery load function - functionPHP: правильный способ хранения IP-адресов в MySql и быстрый поиск IP-адресов в миллионах строк - phpfatal error LNK1107 when generating the lib file from vlc dll - dllDynamically Distributed Array Extension - c ++Insert elements into an array - arraysA table in SQL Server will not return more than a few thousand rows - tsqlHow do I set up my own shortened URL for my posts? - seocatch SelectedIndexChanged Accordion Control Event in ASP.NET AjaxToolkit - eventsПоиск по тексту Bolden - javascriptWhy is my MD5 print with extra f characters? - c ++All Articles