We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9cd56 commit 02f6de4Copy full SHA for 02f6de4
sources/net.sf.j2s.java.core/src/javax/swing/JTextField.java
@@ -456,8 +456,8 @@ protected int getJ2SWidth(int columns) {
456
}
457
458
protected Dimension getMinimumSizeJTF(int columns) {
459
- // for java.awt.JextField only
460
- Dimension size = getMinimumSize();
+ // for java.awt.TextField only
+ Dimension size = super.getMinimumSize();
461
if (columns != 0) {
462
size.width = getJ2SWidth(columns);
463
0 commit comments