Questions tagged as 'jtextfield'

1
answer

how to position the Caret of a JTextField?

I have JTextField where opening and closing parentheses is optional. However, whenever the user opens and does not close a parenthesis, my program gives error, because I use this text field to calculate an arithmetic expression. In ord...
asked by 05.07.2017 / 16:05
0
answers

How to pass data from a JTextField to a Postgresql Date field [duplicate]

I would strongly urge you to help me solve a Date (SQL) data insertion problem for new student enrollment in the Crud project developed by me in the code below. The method containing the INSERT INTO command does not insert a new record in the...
asked by 07.11.2018 / 19:00
0
answers

Customizing TextField javaFX

Hello, I would like to know how to customize my TextField to leave with this same style (" link "), but without the color change. I found this code, but I'm having trouble implementing it. What I would like for this lib is the floating label...
asked by 23.12.2015 / 20:13
1
answer

JTextField does not interpret \ n as line break

When printing client data in the JTextField, when \n is present it means a line break, but instead of moving to the next line each time it finds a \n , it simply ignores and continues to write forward. Follow the code below: li...
asked by 25.11.2015 / 18:47