python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Is there a way to make a "clickable" button, that is actually a text field?
I am making a Sudoku App using Java & Swing, and I was wondering if there was a way to edit one "box" in the 2d array using a MouseEvent and getX(), getY(). So for example, if the board ...
eswcs
Votes: 0
Answers: 1
How to display a JTextField in the frame based on selection from JComboBox?
Intro : This program is supposed to act as a scientific calculator with a basic GUI.
An input is mandatory for which a JTextField is used to take input. Then there is a drop-down list with operators. ...
Sai Gruheeth
Votes: 0
Answers: 0
How to make JTextField to accept only one letter?
I have an application with multiple text fields I want the text fields to take only one Letter and consume the other. I am trying to do it through ActionListener and KeyAdapter and by making only one ...
Sham Khan
Votes: 0
Answers: 1
How to access the objects of the array of JTextField objects in the KeyListener?
I have this code, that use an array of the JTextField objects for 25 elements and I want that ever element will be handle by KeyListener (keyPressed) differently after changing or adding text there.
S...
Klopo22
Votes: 0
Answers: 1