开发者

question regarding GUI in java

开发者 https://www.devze.com 2023-03-03 06:50 出处:网络
HOW TO pass the string input in GUI using JTextfield to oth开发者_StackOverflow社区er class in java. otherclass.setText (jTextField.getText ());

HOW TO pass the string input in GUI using JTextfield to oth开发者_StackOverflow社区er class in java.


otherclass.setText (jTextField.getText ());


Considering the amount of details provided in the question, here is an approximate answer

String text = jTextField.getText();
OtherClass otherClass = new OtherClass(text);
0

精彩评论

暂无评论...
验证码 换一张
取 消